forked from science-ation/science-ation
add E_DEPRECATED and E_WARNING to ignored errors
This commit is contained in:
parent
ef00c7d9f3
commit
a6f869bef1
@ -30,7 +30,7 @@ header("Content-Type: text/html; charset=iso-8859-1");
|
||||
|
||||
//set error reporting to not show notices, for some reason some people's installation dont set this by default
|
||||
//so we will set it in the code instead just to make sure
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
|
||||
|
||||
define('REQUIREDFIELD','<span class="requiredfield">*</span>');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user