forked from science-ation/science-ation
turn off NOTICE error reporting in PHP, some people's PHP dont do this globally for some reason.
This commit is contained in:
parent
5eab309b4a
commit
0987d76e43
@ -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>');
|
define('REQUIREDFIELD','<span class="requiredfield">*</span>');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user