From: Chad Horohoe Date: Wed, 23 Feb 2011 16:48:11 +0000 (+0000) Subject: Partial revert r81779, $wgHooks is needed. Also add $wgAutoloadClasses X-Git-Tag: 1.31.0-rc.0~31807 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=7d5e3b8847d166f3e9ebb5728b5c5661c68a1044;p=lhc%2Fweb%2Fwiklou.git Partial revert r81779, $wgHooks is needed. Also add $wgAutoloadClasses --- diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 53c19ea87b..9c2a8f44f4 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -1205,6 +1205,7 @@ abstract class Installer { * but we're not opening that can of worms * @see https://bugzilla.wikimedia.org/show_bug.cgi?id=26857 */ + global $wgHooks, $wgAutoloadClasses; require( "$IP/includes/DefaultSettings.php" ); foreach( $exts as $e ) {