sql_query($sql)) { message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql); } else { while($row = $db->sql_fetchrow($result)) { $board_config[$row['config_name']] = $row['config_value']; } $board_config['allow_html_tags'] = split(",", $board_config['allow_html_tags']); $board_config['board_email'] = str_replace("
", "\n", "-- \n" . $board_config['email_sig']); $board_config['default_template'] = stripslashes($board_config['sys_template']); $board_config['board_timezone'] = $board_config['system_timezone']; } if( $board_config['board_disable'] && !defined("IN_ADMIN") ) { include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '.'.$phpEx); message_die(GENERAL_MESSAGE, $lang['Board_disable'], $lang['Information']); } // // Setup the emailer // $emailer = new emailer($board_config['smtp_delivery']); ?>