From: Tim Starling Date: Mon, 23 Aug 2010 02:31:13 +0000 (+0000) Subject: Fix complete breakage of new installer due to multiple ob_flush() calls with gzip... X-Git-Tag: 1.31.0-rc.0~35366 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=cfb918bae989d2ee1bfd7d501d6d867f12a35ee2;p=lhc%2Fweb%2Fwiklou.git Fix complete breakage of new installer due to multiple ob_flush() calls with gzip handler enabled. --- 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 +}