mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
I'm removing the HEADER_INC check from the error handler to resolve incomplete output in some cases.
If this causes a problem in a specific case, please let me know the details git-svn-id: file:///svn/phpbb/trunk@5491 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1603,8 +1603,6 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
||||
$cache->unload();
|
||||
}
|
||||
|
||||
if (!defined('HEADER_INC'))
|
||||
{
|
||||
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
|
||||
echo '<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">';
|
||||
echo '<head>';
|
||||
@@ -1622,7 +1620,6 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
||||
echo ' <span class="corners-top"><span></span></span>';
|
||||
echo ' <div id="content">';
|
||||
echo ' <h1>General Error</h1>';
|
||||
}
|
||||
|
||||
echo ' <h2>' . $msg_text . '</h2>';
|
||||
echo ' <p>Please notify the board administrator or webmaster : <a href="mailto:' . $config['board_contact'] . '">' . $config['board_contact'] . '</a></p>';
|
||||
|
Reference in New Issue
Block a user