X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Finstall.php;h=3e632f066106f3bfc9e8787d6463deed7b5cdde9;hb=6e71511047de1f6ed8de40c9b2cb1a860ab8a716;hp=0037ea80c220a448717b14f0a490fd660d7df5ce;hpb=3368cccde53732c1278f51632e69b9865c4ee6ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/install.php b/maintenance/install.php index 0037ea80c2..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 ); @@ -43,7 +41,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 );