mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
ok, the nasty one then... :/
git-svn-id: file:///svn/phpbb/trunk@8044 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -149,6 +149,14 @@ class template
|
||||
{
|
||||
global $user;
|
||||
|
||||
if (defined('IN_ERROR_HANDLER'))
|
||||
{
|
||||
if ((E_NOTICE & error_reporting()) == E_NOTICE)
|
||||
{
|
||||
error_reporting(error_reporting() ^ E_NOTICE);
|
||||
}
|
||||
}
|
||||
|
||||
if ($filename = $this->_tpl_load($handle))
|
||||
{
|
||||
($include_once) ? include_once($filename) : include($filename);
|
||||
|
Reference in New Issue
Block a user