Fix complete breakage of new installer due to multiple ob_flush() calls with gzip...
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 23 Aug 2010 02:31:13 +0000 (02:31 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 23 Aug 2010 02:31:13 +0000 (02:31 +0000)
includes/installer/CoreInstaller.php

index 681e2c1..39a88ac 100644 (file)
@@ -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
+}