diff --git a/core/util.inc.php b/core/util.inc.php index 660bb001..03bc66b1 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -911,10 +911,11 @@ function _stripslashes_r($arr) { function _sanitise_environment() { if(DEBUG) { error_reporting(E_ALL); - assert_options(ASSERT_ACTIVE, 1); - assert_options(ASSERT_BAIL, 1); } + assert_options(ASSERT_ACTIVE, 1); + assert_options(ASSERT_BAIL, 1); + ob_start(); if(get_magic_quotes_gpc()) {