Skip to content

Commit

Permalink
Applied same fix of sf1.4 to sf1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Schoenmaker committed Jul 1, 2013
1 parent a5e3d29 commit 3d513b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/exception/sfException.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ public function printStackTrace()
}
}

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

header('HTTP/1.0 500 Internal Server Error');
}
Expand Down

0 comments on commit 3d513b2

Please sign in to comment.