summaryrefslogtreecommitdiff
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
parent4ffa559227a2abecc12f8402b6ef99a06dfa4806 (diff)
- Disable E_STRICT warnings on PHP 5.4
-rw-r--r--CHANGELOG1
-rwxr-xr-xprogram/include/iniset.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c7fef7dea..dc64464b6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Disable E_STRICT warnings on PHP 5.4
- Prevent from folder selection on virtual folder collapsing (#1488346)
- Fix automatic unsubscribe of non-existent folders
- Fix double-quotes handling in recipient names
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)