Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 41320fb0 authored by Gary Allan's avatar Gary Allan
Browse files

Refactor: Fix error_reporting values

parent 33ebf72d
Branches
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ if(Config::ValueOf('debugging')==true) {
}
else {
disable_php_errors();
error_reporting(E_ERROR | E_WARNING);
}
// auto-set base if not already defined
......
......@@ -16,7 +16,6 @@ function disable_php_errors() {
# Don't corrupt json,xml,sql,png... output with php errors!
ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
error_reporting(0);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment