From 06a0fc7e6921b50cfdd8f00e83918a1fb65b8ccc Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sun, 20 Feb 2011 08:29:25 +0000 Subject: [PATCH] Bug 26683: Unable to download index.php from localhost message displayed at complete page in IE7 & IE8 --- includes/installer/WebInstallerPage.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 60f6d58d82..b225ec748b 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -1060,7 +1060,9 @@ class WebInstaller_Complete extends WebInstallerPage { // Pop up a dialog box, to make it difficult for the user to forget // to download the file $lsUrl = $GLOBALS['wgServer'] . $this->parent->getURL( array( 'localsettings' => 1 ) ); - $this->parent->request->response()->header( "Refresh: 0;url=$lsUrl" ); + $this->addHtml( '\n" ); + // JS appears the only method that works consistently with IE7+ $this->startForm(); $this->parent->disableLinkPopups(); -- 2.20.1