From: Max Semenik Date: Mon, 8 Nov 2010 19:54:53 +0000 (+0000) Subject: Allow downloading LocalSettings after upgrades X-Git-Tag: 1.31.0-rc.0~33979 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=0c09c4e1f784de039205bda13b3a1a185105af5f;p=lhc%2Fweb%2Fwiklou.git Allow downloading LocalSettings after upgrades --- diff --git a/includes/installer/WebInstaller.php b/includes/installer/WebInstaller.php index fa233ec5fe..2668ba7cd2 100644 --- a/includes/installer/WebInstaller.php +++ b/includes/installer/WebInstaller.php @@ -118,7 +118,8 @@ class WebInstaller extends CoreInstaller { $this->exportVars(); $this->setupLanguage(); - if( $this->getVar( '_InstallDone' ) && $this->request->getVal( 'localsettings' ) ) + if( ( $this->getVar( '_InstallDone' ) || $this->getVar( '_UpgradeDone' ) ) + && $this->request->getVal( 'localsettings' ) ) { $this->request->response()->header( 'Content-type: text/plain' ); $this->request->response()->header(