diff --git a/lib/punbb/include/functions.php b/lib/punbb/include/functions.php index 8bb9f1c365be14bf4376a32c5ba097b60e65ee78..0dcc61e8ca5989f0bf621c1c557664e99edc58c0 100644 --- a/lib/punbb/include/functions.php +++ b/lib/punbb/include/functions.php @@ -1031,21 +1031,6 @@ function error($message, $file, $line, $db_error = false) ob_start('ob_gzhandler'); ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -<title><?php echo pun_htmlspecialchars($pun_config['o_board_title']) ?> / Error</title> -<style type="text/css"> -<!-- -BODY {MARGIN: 10% 20% auto 20%; font: 10px Verdana, Arial, Helvetica, sans-serif} -#errorbox {BORDER: 1px solid #B84623} -H2 {MARGIN: 0; COLOR: #FFFFFF; BACKGROUND-COLOR: #B84623; FONT-SIZE: 1.1em; PADDING: 5px 4px} -#errorbox DIV {PADDING: 6px 5px; BACKGROUND-COLOR: #F1F1F1} ---> -</style> -</head> -<body> <div id="errorbox"> <h2>An error was encountered</h2> @@ -1071,8 +1056,6 @@ H2 {MARGIN: 0; COLOR: #FFFFFF; BACKGROUND-COLOR: #B84623; FONT-SIZE: 1.1em; PADD </div> </div> -</body> -</html> <?php // If a database connection was established (before this error) we close it