zend.assertions can't be set at runtime
This commit is contained in:
parent
629f155187
commit
52dfa12df7
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ function _sanitise_environment() {
|
||||||
date_default_timezone_set(TIMEZONE);
|
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
|
ini_set('assert.exception', 1); // throw exceptions when failed
|
||||||
if(DEBUG) {
|
if(DEBUG) {
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
|
Reference in a new issue