diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-11 23:48:39 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-11 23:48:39 +0000 |
commit | b1aaa3b6ca8894ac0422fb3aeadded29c2b83972 (patch) | |
tree | 7689417eb311569ffe966c5f60aeb7a8e9ff2035 /functions/init/set_error_reporting.php | |
parent | b8fa9f6a3a0d0bad52babec3573899ba37873477 (diff) | |
download | phpicalendar-b1aaa3b6ca8894ac0422fb3aeadded29c2b83972.tar.gz phpicalendar-b1aaa3b6ca8894ac0422fb3aeadded29c2b83972.tar.bz2 phpicalendar-b1aaa3b6ca8894ac0422fb3aeadded29c2b83972.zip |
add new files
Diffstat (limited to 'functions/init/set_error_reporting.php')
-rw-r--r-- | functions/init/set_error_reporting.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/functions/init/set_error_reporting.php b/functions/init/set_error_reporting.php new file mode 100644 index 0000000..91e491d --- /dev/null +++ b/functions/init/set_error_reporting.php @@ -0,0 +1,9 @@ +<?php +/* set error reporting +config boolean $verbose_errors = false by default + +*/ +// uncomment when developing, comment for shipping version +error_reporting (E_ERROR | E_WARNING | E_PARSE); +#error_reporting(0); +// Older versions of PHP do not define $_SERVER. Define it here instead. |