From d02f00aa2977c63edf910c048c26d8ea793c547e Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Mon, 24 Mar 2008 00:26:24 +0000 Subject: [PATCH] - [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/docs/CHANGELOG.html | 1 + phpBB/style.php | 4 ++++ 2 files changed, 5 insertions(+) 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 @@
  • [Fix] Correctly update board statistics for attaching orphaned files to existing posts (Bug #20185)
  • [Sec] Only allow searching by email address in memberlist for users having the a_user permission (reported by evil<3)
  • [Fix] Do not detect the board URL as a link twice in posts (Bug #19215)
  • +
  • [Fix] Set correct error reporting in style.php to avoid blank pages after CSS changes (Bug #23885)
  • 1.i. Changes since 3.0.RC8

    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', '<'))