X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Finstall.php;h=3e632f066106f3bfc9e8787d6463deed7b5cdde9;hb=e19f1c0bcf1ae80f776ae649fd2c06f89c6e4fbc;hp=ae3074a4c8b0399775f13f1e87c81e0f11406e8d;hpb=f2c242e2e8d86d6d12ae9c160b88c43558306d8f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/install.php b/maintenance/install.php index ae3074a4c8..3e632f0661 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -21,11 +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+ -// @codingStandardsIgnoreStart MediaWiki.Usage.DirUsage.FunctionFound -require_once dirname( __FILE__ ) . '/Maintenance.php'; -// @codingStandardsIgnoreEnd +require_once __DIR__ . '/Maintenance.php'; define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' ); define( 'MEDIAWIKI_INSTALL', true );