restore old error_reporting value
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
* All directives are explained in Documentation.html
|
||||
*/
|
||||
|
||||
// Sets the php error reporting - Please do not change this line!
|
||||
error_reporting(E_ALL);
|
||||
/**
|
||||
* Sets the php error reporting - Please do not change this line!
|
||||
*/
|
||||
$old_error_rep = error_reporting(E_ALL);
|
||||
|
||||
|
||||
/**
|
||||
@@ -301,4 +303,10 @@ if ($cfg['ShowFunctionFields']) {
|
||||
* Unset magic_quotes_runtime - do not change!
|
||||
*/
|
||||
set_magic_quotes_runtime(0);
|
||||
|
||||
/**
|
||||
* Restore old error_reporting mode - do not change either!
|
||||
*/
|
||||
error_reporting($old_error_rep);
|
||||
unset($old_error_rep);
|
||||
?>
|
||||
|
Reference in New Issue
Block a user