X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Finstall.php;h=ae3074a4c8b0399775f13f1e87c81e0f11406e8d;hb=2f622d30768ed1f8a8a864bad6edfbb876891dc3;hp=0037ea80c220a448717b14f0a490fd660d7df5ce;hpb=c811e2c8c9f876f857cf6173049dfbc52cdd9a10;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/install.php b/maintenance/install.php index 0037ea80c2..ae3074a4c8 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -23,7 +23,9 @@ // 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 define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' ); define( 'MEDIAWIKI_INSTALL', true ); @@ -43,7 +45,7 @@ class CommandLineInstaller extends Maintenance { global $IP; $this->addDescription( "CLI-based MediaWiki installation and configuration.\n" . - "Defaut options are indicated in parenthesis." ); + "Default options are indicated in parentheses." ); $this->addArg( 'name', 'The name of the wiki (MediaWiki)', false );