aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/functions/error.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-02-23 23:39:42 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-02-23 23:39:42 +0000
commit4e5538cb78ceb8e93ae10ec9ad306547e6014972 (patch)
treeb235f5d42c0186805d4e6bfd8df5a78a6cf24b88 /phpBB/functions/error.php
parent8523870f8e55c5e170529a68eec6a93b0059d5a2 (diff)
downloadforums-4e5538cb78ceb8e93ae10ec9ad306547e6014972.tar
forums-4e5538cb78ceb8e93ae10ec9ad306547e6014972.tar.gz
forums-4e5538cb78ceb8e93ae10ec9ad306547e6014972.tar.bz2
forums-4e5538cb78ceb8e93ae10ec9ad306547e6014972.tar.xz
forums-4e5538cb78ceb8e93ae10ec9ad306547e6014972.zip
Viewforum works, and error die outputs nice, templated, errors
git-svn-id: file:///svn/phpbb/trunk@37 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/functions/error.php')
-rw-r--r--phpBB/functions/error.php5
1 files changed, 5 insertions, 0 deletions
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)