Commit 3d384ee9 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Re-enable the error hiding to be used during config file creation

parent 5007d23d
...@@ -818,13 +818,13 @@ function provision_platform_include(&$data, $path, $command, $version = null, $p ...@@ -818,13 +818,13 @@ function provision_platform_include(&$data, $path, $command, $version = null, $p
} }
function _provision_errors_on() { function _provision_errors_on() {
# ini_set('error_reporting', E_ALL); ini_set('error_reporting', E_ALL ^ E_NOTICE);
# ini_set('display_errors', TRUE); ini_set('display_errors', TRUE);
} }
_provision_errors_on(); _provision_errors_on();
function _provision_errors_off() { function _provision_errors_off() {
# ini_set('error_reporting', ~E_ALL); ini_set('error_reporting', ~E_ALL);
# ini_set('display_errors', FALSE); ini_set('display_errors', FALSE);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment