summaryrefslogtreecommitdiff
path: root/program/include/iniset.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-03-04 07:59:46 +0000
committeralecpl <alec@alec.pl>2012-03-04 07:59:46 +0000
commit66d2152ab57b1267552c75243919945b1ffc49bb (patch)
tree57ac9ca0c3147ab1247dbb5396debafee53f7356 /program/include/iniset.php
parent54d074613fede481758049c445c502acfe0ebe6a (diff)
Exclude E_STRICT from error_reporting for PHP 5.4
Diffstat (limited to 'program/include/iniset.php')
-rw-r--r--program/include/iniset.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index 375bdf653..5feca7d9c 100644
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -68,7 +68,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)