1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-06 06:25:04 +02:00

Added code to create an instance of $template if it does not exist

git-svn-id: file:///svn/phpbb/trunk@267 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-05-10 18:13:15 +00:00
parent 689d58525e
commit 3ee09c613c

View File

@ -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)