From: Alexandre Emsenhuber Date: Tue, 27 Jan 2009 20:29:20 +0000 (+0000) Subject: Don't use AutoLoader in class_exists() and interface_exists() in AutoLoader::loadAllE... X-Git-Tag: 1.31.0-rc.0~43206 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=f3f9e58d3653aa1bf1bd28d47d92d2554545b473;p=lhc%2Fweb%2Fwiklou.git Don't use AutoLoader in class_exists() and interface_exists() in AutoLoader::loadAllExtensions() since we'll require() it if it doesn't exist --- diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index e3dd049258..a349226aed 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -581,7 +581,7 @@ class AutoLoader { global $wgAutoloadClasses; foreach( $wgAutoloadClasses as $class => $file ) { - if( !( class_exists( $class ) || interface_exists( $class ) ) ) { + if( !( class_exists( $class, false ) || interface_exists( $class, false ) ) ) { require( $file ); } }