From 5a1d4660ba04a9fe153feaa0b0c91919016b2e70 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 20 Jul 2001 19:22:44 +0000 Subject: Removed most old language vars, not needed any more git-svn-id: file:///svn/phpbb/trunk@714 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/common.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'phpBB/common.php') 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("
", "\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']); } -- cgit v1.2.1