X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Finstall.php;h=3e632f066106f3bfc9e8787d6463deed7b5cdde9;hb=2a9f1e75d4d3c06da1e28fd7db16e3fb72f8209a;hp=ae3074a4c8b0399775f13f1e87c81e0f11406e8d;hpb=8732532d47866f75d9d145d877e3e41bbd3a29d2;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 );