summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-03-04 08:03:26 +0000
committeralecpl <alec@alec.pl>2012-03-04 08:03:26 +0000
commitb1fa85b7e8ded3d8b935456b9490f3aa2712e93a (patch)
tree2c7e2621b02b71dbe9c3497fc08ca48eec487d28 /program/include
parent4ffa559227a2abecc12f8402b6ef99a06dfa4806 (diff)
- Disable E_STRICT warnings on PHP 5.4
Diffstat (limited to 'program/include')
-rwxr-xr-xprogram/include/iniset.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index eb015a6a8..43289db4f 100755
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -65,7 +65,7 @@ if (set_include_path($include_path) === false) {
die("Fatal error: ini_set/set_include_path does not work.");
}
-ini_set('error_reporting', E_ALL&~E_NOTICE);
+ini_set('error_reporting', E_ALL &~ (E_NOTICE | E_STRICT));
// increase maximum execution time for php scripts
// (does not work in safe mode)