1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 15:27:42 +02:00

Misc fixes

git-svn-id: file:///svn/phpbb/trunk@80 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-03-04 01:27:58 +00:00
parent e9aedae48f
commit 9411996f45
4 changed files with 15 additions and 7 deletions

View File

@@ -24,10 +24,18 @@
function error_die($db, $error_code = "", $error_msg = "")
{
global $template, $phpEx;
global $template, $phpEx, $default_lang;
if(!$template->get("overall_header"))
{
if(!empty($default_lang))
{
include('language/lang_'.$default_lang.'.'.$phpEx);
}
else
{
include('language/lang_english.'.$phpEx);
}
include('page_header.'.$phpEx);
}
if(!$error_msg)