forked from Cavemanon/cavepaintings
still bail on assert failures even when debug is off
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user