diff options
author | Nils Adermann <naderman@naderman.de> | 2008-03-24 00:26:24 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2008-03-24 00:26:24 +0000 |
commit | d02f00aa2977c63edf910c048c26d8ea793c547e (patch) | |
tree | 99dbebc84136b1fbf132b1c729206dab100210b4 /phpBB | |
parent | 50e1d938879db3385eb446eade2a3b7950b85fe3 (diff) | |
download | forums-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')
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
-rw-r--r-- | phpBB/style.php | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 8b68dc680f..a526625b40 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -145,6 +145,7 @@ <li>[Fix] Correctly update board statistics for attaching orphaned files to existing posts (Bug #20185)</li> <li>[Sec] Only allow searching by email address in memberlist for users having the a_user permission (reported by evil<3)</li> <li>[Fix] Do not detect the board URL as a link twice in posts (Bug #19215)</li> + <li>[Fix] Set correct error reporting in style.php to avoid blank pages after CSS changes (Bug #23885)</li> </ul> <a name="v30rc8"></a><h3>1.i. Changes since 3.0.RC8</h3> 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', '<')) |