Skip to content

Commit

Permalink
reverted and will send a separate pull request on 5_4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp011 committed Apr 22, 2014
1 parent 0c556c5 commit 7e93d91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vendor/symfony/exception/sfException.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function printStackTrace($exception = null)
// clean current output buffer
while (@ob_end_clean());

ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : null);
ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : '');
}

// send an error 500 if not in debug mode
Expand Down
2 changes: 1 addition & 1 deletion vendor/symfony/symfony.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
sfLoader::loadPluginConfig();

// compress output
ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : null);
ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : '');
}
catch (sfException $e)
{
Expand Down

0 comments on commit 7e93d91

Please sign in to comment.