restore old error_reporting value

This commit is contained in:
Alexander M. Turek
2002-06-09 16:47:15 +00:00
parent 0cdddc6afb
commit 96f203ef1e

View File

@@ -8,8 +8,10 @@
* All directives are explained in Documentation.html * 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! * Unset magic_quotes_runtime - do not change!
*/ */
set_magic_quotes_runtime(0); set_magic_quotes_runtime(0);
/**
* Restore old error_reporting mode - do not change either!
*/
error_reporting($old_error_rep);
unset($old_error_rep);
?> ?>