diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2001-03-02 05:46:32 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-03-02 05:46:32 +0000 |
commit | dcc2b2fe194163d455360fbb8726fe80b6c03378 (patch) | |
tree | 857c224120771903b2e5f1aceaecd51f8a216adf /phpBB/common.php | |
parent | adb77ffa23bd7ae158b95a363235421255592980 (diff) | |
download | forums-dcc2b2fe194163d455360fbb8726fe80b6c03378.tar forums-dcc2b2fe194163d455360fbb8726fe80b6c03378.tar.gz forums-dcc2b2fe194163d455360fbb8726fe80b6c03378.tar.bz2 forums-dcc2b2fe194163d455360fbb8726fe80b6c03378.tar.xz forums-dcc2b2fe194163d455360fbb8726fe80b6c03378.zip |
Started translation implemenation, added 1.2 english lang file
git-svn-id: file:///svn/phpbb/trunk@73 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 79d64b2403..2c1c7c8599 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -68,7 +68,7 @@ else $default_lang = $config[0]["default_lang"]; $sys_lang = $default_lang; } - +include('language/lang_'.$default_lang.'.'.$phpEx); // Check if user is banned if(!auth("ip ban", $db, "", USER_IP)) { @@ -99,7 +99,7 @@ if (!$user_logged_in) if(isset($HTTP_COOKIE_VARS[$cookie_name])) { $userdata = get_userdata_from_id($HTTP_COOKIE_VARS["$cookie_name"], $db); - if(!auth("username ban", $db, $userdata["user_id"], "", "", "", "", "", "", "", "")) + if(!auth("username ban", $db, $userdata["user_id"])) { error_die($db, BANNED); } |