Disable DEPRECATED warnings

This commit is contained in:
james 2010-09-11 00:53:03 +00:00
parent 70d359c15b
commit a8fa8e7a99

View File

@ -29,7 +29,7 @@ header("Content-Type: text/html; charset=UTF-8");
//set error reporting to not show notices, for some reason some people's installation dont set this by default //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 //so we will set it in the code instead just to make sure
error_reporting(E_ALL ^ E_NOTICE); error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
define('REQUIREDFIELD','<span class="requiredfield">*</span>'); define('REQUIREDFIELD','<span class="requiredfield">*</span>');