dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "EtcdConfig: use array_key_exists(), the value can be null"
[lhc/web/wiklou.git]
/
maintenance
/
install.php
diff --git
a/maintenance/install.php
b/maintenance/install.php
index
212e42a
..
3e632f0
100644
(file)
--- a/
maintenance/install.php
+++ b/
maintenance/install.php
@@
-21,9
+21,7
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-// Checking for old versions of PHP is done in Maintenance.php
-// We need to use dirname( __FILE__ ) here cause __DIR__ is PHP5.3+
-require_once dirname( __FILE__ ) . '/Maintenance.php';
+require_once __DIR__ . '/Maintenance.php';
define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' );
define( 'MEDIAWIKI_INSTALL', true );
define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' );
define( 'MEDIAWIKI_INSTALL', true );