dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5408158
)
Check for interface existence in wfLoadAllExtensions() too, otherwise if an extension...
author
Rob Church
<robchurch@users.mediawiki.org>
Sat, 20 Jan 2007 19:24:37 +0000
(19:24 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Sat, 20 Jan 2007 19:24:37 +0000
(19:24 +0000)
includes/AutoLoader.php
patch
|
blob
|
history
diff --git
a/includes/AutoLoader.php
b/includes/AutoLoader.php
index
ff89b6c
..
55a90d3
100644
(file)
--- a/
includes/AutoLoader.php
+++ b/
includes/AutoLoader.php
@@
-316,7
+316,7
@@
function wfLoadAllExtensions() {
require_once( 'SpecialPage.php' );
foreach( $wgAutoloadClasses as $class => $file ) {
- if
( ! class_exists( $class
) ) {
+ if
( !( class_exists( $class ) || interface_exists( $class )
) ) {
require( $file );
}
}