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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user