aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/error.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/error.php b/phpBB/includes/error.php
index 76acc188e5..8d5a95c40b 100644
--- a/phpBB/includes/error.php
+++ b/phpBB/includes/error.php
@@ -38,6 +38,10 @@ function error_die($error_code, $error_msg = "", $line = "", $file = "")
{
include('language/lang_english.'.$phpEx);
}
+ if(!$template)
+ {
+ $template = new Template("templates/Default");
+ }
include('includes/page_header.'.$phpEx);
}
if(!$error_msg)