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:
ef9787a
)
Fix regression from r51677, still need to load AdminSettings if it exists for back...
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 10 Mar 2010 12:44:57 +0000
(12:44 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 10 Mar 2010 12:44:57 +0000
(12:44 +0000)
maintenance/doMaintenance.php
patch
|
blob
|
history
diff --git
a/maintenance/doMaintenance.php
b/maintenance/doMaintenance.php
index
f13ca07
..
008c5b8
100644
(file)
--- a/
maintenance/doMaintenance.php
+++ b/
maintenance/doMaintenance.php
@@
-76,6
+76,11
@@
if( file_exists( "$IP/wmf-config/wikimedia-mode" ) ) {
} else {
require_once( $maintenance->loadSettings() );
}
+if ( $maintenance->getDbType() === Maintenance::DB_ADMIN &&
+ is_readable( "$IP/AdminSettings.php" ) )
+{
+ require( "$IP/AdminSettings.php" );
+}
$maintenance->finalSetup();
// Some last includes
require_once( "$IP/includes/Setup.php" );