diff options
Diffstat (limited to 'includes/installer/CliInstaller.php')
-rw-r--r-- | includes/installer/CliInstaller.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/installer/CliInstaller.php b/includes/installer/CliInstaller.php index 2ae9d143..41392207 100644 --- a/includes/installer/CliInstaller.php +++ b/includes/installer/CliInstaller.php @@ -31,6 +31,7 @@ class CliInstaller extends Installer { 'dbpass' => 'wgDBpassword', 'dbschema' => 'wgDBmwschema', 'dbpath' => 'wgSQLiteDataDir', + 'server' => 'wgServer', 'scriptpath' => 'wgScriptPath', ); @@ -183,6 +184,13 @@ class CliInstaller extends Installer { return parent::envCheckPath(); } + protected function envCheckServer( $srv = null ) { + if ( $this->getVar( 'wgServer' ) ) { + $srv = $this->getVar( 'wgServer' ); + } + return parent::envCheckServer( $srv ); + } + public function dirIsExecutable( $dir, $url ) { $this->showMessage( 'config-no-cli-uploads-check', $dir ); return false; |