add E_DEPRECATED and E_WARNING to ignored errors

This commit is contained in:
james 2019-01-21 16:54:28 +00:00
parent ef00c7d9f3
commit a6f869bef1

View File

@ -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>');