From: Max Semenik Date: Sun, 20 Feb 2011 08:29:25 +0000 (+0000) Subject: Bug 26683: Unable to download index.php from localhost message displayed at complete... X-Git-Tag: 1.31.0-rc.0~31863 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=06a0fc7e6921b50cfdd8f00e83918a1fb65b8ccc;p=lhc%2Fweb%2Fwiklou.git Bug 26683: Unable to download index.php from localhost message displayed at complete page in IE7 & IE8 --- 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();