From d02f00aa2977c63edf910c048c26d8ea793c547e Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Mon, 24 Mar 2008 00:26:24 +0000 Subject: - [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 --- phpBB/style.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'phpBB/style.php') 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', '<')) -- cgit v1.2.1