turn off NOTICE error reporting in PHP, some people's PHP dont do this globally for some reason.

This commit is contained in:
james 2006-09-04 16:13:07 +00:00
parent 5eab309b4a
commit 0987d76e43

View File

@ -22,6 +22,9 @@
*/
?>
<?
//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);
define('REQUIREDFIELD','<span class="requiredfield">*</span>');