From 4e5538cb78ceb8e93ae10ec9ad306547e6014972 Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Fri, 23 Feb 2001 23:39:42 +0000 Subject: Viewforum works, and error die outputs nice, templated, errors git-svn-id: file:///svn/phpbb/trunk@37 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/functions/error.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/functions/error.php') diff --git a/phpBB/functions/error.php b/phpBB/functions/error.php index 6b53da1838..f8182335f2 100644 --- a/phpBB/functions/error.php +++ b/phpBB/functions/error.php @@ -25,6 +25,11 @@ function error_die($db, $error_code = "", $error_msg = "") { global $template, $phpEx; + + if(!$template->get("overall_header")) + { + include('page_header.'.$phpEx); + } if(!$error_msg) { switch($error_code) -- cgit v1.2.1