Commit 749e44a8 authored by Etienne CHAMPETIER's avatar Etienne CHAMPETIER

ZP-645 Revert "PHP 5.4+ ob_start() needs an extra flag to allow".

Released under the Affero GNU General Public License (AGPL) version 3.

This reverts commit 074cc4b9.
extra flag is not needed as it's the default value
parent c42848ed
......@@ -43,13 +43,7 @@
* Consult LICENSE file for details
************************************************/
if (version_compare(phpversion(), '5.4.0') < 0) {
ob_start(null, 1048576);
}
else {
ob_start(null, 1048576, PHP_OUTPUT_HANDLER_STDFLAGS);
}
ob_start(null, 1048576);
// ignore user abortions because this can lead to weird errors - see ZP-239
ignore_user_abort(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment