From 0c09c4e1f784de039205bda13b3a1a185105af5f Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Mon, 8 Nov 2010 19:54:53 +0000 Subject: [PATCH] Allow downloading LocalSettings after upgrades --- includes/installer/WebInstaller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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( -- 2.20.1