From cfb918bae989d2ee1bfd7d501d6d867f12a35ee2 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 23 Aug 2010 02:31:13 +0000 Subject: [PATCH] Fix complete breakage of new installer due to multiple ob_flush() calls with gzip handler enabled. --- includes/installer/CoreInstaller.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/installer/CoreInstaller.php b/includes/installer/CoreInstaller.php index 681e2c15b6..39a88ac44a 100644 --- a/includes/installer/CoreInstaller.php +++ b/includes/installer/CoreInstaller.php @@ -437,6 +437,9 @@ abstract class CoreInstaller extends Installer { // Extended debugging. Maybe disable before release? $GLOBALS['wgShowSQLErrors'] = true; $GLOBALS['wgShowDBErrorBacktrace'] = true; + + // Allow multiple ob_flush() calls + $GLOBALS['wgDisableOutputCompression'] = true; } /** @@ -455,4 +458,4 @@ abstract class CoreInstaller extends Installer { array_splice( $this->installSteps, $where, 0, $callback ); } -} \ No newline at end of file +} -- 2.20.1