From 52dfa12df792626c8085ae4d85e43e991edae9e4 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 26 Apr 2019 10:13:17 +0100 Subject: [PATCH] zend.assertions can't be set at runtime --- core/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.php b/core/util.php index 965b56a3..7129f0f2 100644 --- a/core/util.php +++ b/core/util.php @@ -389,7 +389,7 @@ function _sanitise_environment() { date_default_timezone_set(TIMEZONE); } - ini_set('zend.assertions', 1); // generate assertions + # ini_set('zend.assertions', 1); // generate assertions ini_set('assert.exception', 1); // throw exceptions when failed if(DEBUG) { error_reporting(E_ALL);