aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/functions/error.php
diff options
context:
space:
mode:
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)