aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2008-03-24 00:26:24 +0000
committerNils Adermann <naderman@naderman.de>2008-03-24 00:26:24 +0000
commitd02f00aa2977c63edf910c048c26d8ea793c547e (patch)
tree99dbebc84136b1fbf132b1c729206dab100210b4 /phpBB/style.php
parent50e1d938879db3385eb446eade2a3b7950b85fe3 (diff)
downloadforums-d02f00aa2977c63edf910c048c26d8ea793c547e.tar
forums-d02f00aa2977c63edf910c048c26d8ea793c547e.tar.gz
forums-d02f00aa2977c63edf910c048c26d8ea793c547e.tar.bz2
forums-d02f00aa2977c63edf910c048c26d8ea793c547e.tar.xz
forums-d02f00aa2977c63edf910c048c26d8ea793c547e.zip
- [Fix] Set correct error reporting in style.php to avoid blank pages after CSS changes (Bug #23885)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8464 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index 75c440bb63..469e2b7727 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -14,6 +14,10 @@
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
+
+// Report all errors, except notices
+error_reporting(E_ALL ^ E_NOTICE);
+
require($phpbb_root_path . 'config.' . $phpEx);
if (version_compare(PHP_VERSION, '6.0.0-dev', '<'))