mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
c0214e35e1
commit
964615eb07
1 changed files with 17 additions and 20 deletions
|
@ -1603,8 +1603,6 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
||||||
$cache->unload();
|
$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 '<!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 '<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">';
|
||||||
echo '<head>';
|
echo '<head>';
|
||||||
|
@ -1622,7 +1620,6 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
||||||
echo ' <span class="corners-top"><span></span></span>';
|
echo ' <span class="corners-top"><span></span></span>';
|
||||||
echo ' <div id="content">';
|
echo ' <div id="content">';
|
||||||
echo ' <h1>General Error</h1>';
|
echo ' <h1>General Error</h1>';
|
||||||
}
|
|
||||||
|
|
||||||
echo ' <h2>' . $msg_text . '</h2>';
|
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>';
|
echo ' <p>Please notify the board administrator or webmaster : <a href="mailto:' . $config['board_contact'] . '">' . $config['board_contact'] . '</a></p>';
|
||||||
|
|
Loading…
Add table
Reference in a new issue