X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Finstall.php;h=3e632f066106f3bfc9e8787d6463deed7b5cdde9;hb=c7315c72a747f34a3c56013014bedf70ea55c5de;hp=212e42ab38682cc2422604cd6211d44c6e2c3588;hpb=b48f38a9fcb44db68ed7bb7c05fab1fc2c091a27;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/install.php b/maintenance/install.php index 212e42ab38..3e632f0661 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -21,9 +21,7 @@ * @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 );