From: Sam Reed Date: Fri, 7 Jan 2011 05:43:51 +0000 (+0000) Subject: Allow CLI installer to set $whShowExceptionDetails X-Git-Tag: 1.31.0-rc.0~32720 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=00ed0f087f6bf3c7caaf4c386b9aa9724490b127;p=lhc%2Fweb%2Fwiklou.git Allow CLI installer to set $whShowExceptionDetails --- diff --git a/includes/installer/CliInstaller.php b/includes/installer/CliInstaller.php index af50f80515..c51709bdc6 100644 --- a/includes/installer/CliInstaller.php +++ b/includes/installer/CliInstaller.php @@ -35,6 +35,7 @@ class CliInstaller extends CoreInstaller { 'upgrade' => 'cliUpgrade', /* As long as it isn't $confItems * in LocalSettingsGenerator, we * should be fine. */ + 'showexceptions' => 'wgShowExceptionDetails', ); /** diff --git a/maintenance/install.php b/maintenance/install.php index fb509cfe9d..75d7e4cef6 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -55,7 +55,7 @@ class CommandLineInstaller extends Maintenance { $this->addOption( 'env-checks', "Run environment checks only, don't change anything" ); $this->addOption( 'upgrade', 'Allow the upgrade to continue despite an existing LocalSettings.php', false, true ); - + $this->addOption( 'showexceptions', "Whether to set wgShowExceptionDetails", false, true ); } public function execute() {