diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-07-20 19:22:44 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-07-20 19:22:44 +0000 |
commit | 5a1d4660ba04a9fe153feaa0b0c91919016b2e70 (patch) | |
tree | ce15d8163ed17d89c7677e2da20e21f579eef2b9 /phpBB/common.php | |
parent | 7aedb9e62d7b44a7f7bc497dfbc918fe272991b0 (diff) | |
download | forums-5a1d4660ba04a9fe153feaa0b0c91919016b2e70.tar forums-5a1d4660ba04a9fe153feaa0b0c91919016b2e70.tar.gz forums-5a1d4660ba04a9fe153feaa0b0c91919016b2e70.tar.bz2 forums-5a1d4660ba04a9fe153feaa0b0c91919016b2e70.tar.xz forums-5a1d4660ba04a9fe153feaa0b0c91919016b2e70.zip |
Removed most old language vars, not needed any more
git-svn-id: file:///svn/phpbb/trunk@714 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 1340bbadd0..2a7a3e0b0d 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -112,6 +112,7 @@ else $board_config['board_email'] = stripslashes(str_replace("<br />", "\n", $config['email_sig'])); $board_config['board_email_from'] = stripslashes($config['email_from']); $board_config['flood_interval'] = $config['flood_interval']; + $board_config['post_mod_time'] = $config['post_mod_time']; $board_config['avatar_filesize'] = $config['avatar_filesize']; $board_config['avatar_max_width'] = $config['avatar_max_width']; $board_config['avatar_max_height'] = $config['avatar_max_height']; @@ -122,16 +123,10 @@ else $board_config['smtp_host'] = $config['smtp_host']; } -// -// This doesn't need to be here, it's only neccesary -// for the following if... loop because a language file -// will be loaded post-session initialisation (or the default -// English one will load if a CRITICAL_ERROR occurs) -// -include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '.'.$phpEx); - if($board_config['board_disable']) { + include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '.'.$phpEx); + message_die(GENERAL_MESSAGE, $lang['Board_disable'], $lang['Information']); } |