aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-28 16:00:53 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-28 16:00:53 +0000
commitd794557825dd9f28acf241ccf77444ee42dfa049 (patch)
tree4b2e5aa6b82e10b04f55af7aee1094ff21ed7ab2 /phpBB/common.php
parentd5b6b9cf852c16ed627fe38a6b34e39bfca73a18 (diff)
downloadforums-d794557825dd9f28acf241ccf77444ee42dfa049.tar
forums-d794557825dd9f28acf241ccf77444ee42dfa049.tar.gz
forums-d794557825dd9f28acf241ccf77444ee42dfa049.tar.bz2
forums-d794557825dd9f28acf241ccf77444ee42dfa049.tar.xz
forums-d794557825dd9f28acf241ccf77444ee42dfa049.zip
- fix nasty error in functions_admin generating a fatal error on inclusion
- adjusted error reporting level to get those errors instead of just the script halting. git-svn-id: file:///svn/phpbb/trunk@5978 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 9564ffa605..afa410ef66 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -23,7 +23,8 @@ if (!defined('IN_PHPBB'))
$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];
-error_reporting(E_ERROR | E_WARNING | E_PARSE);
+// Report all errors, except strict and notice
+error_reporting(E_ALL ^ (E_NOTICE & E_STRICT));
/*
* Remove variables created by register_globals from the global scope