sql_query($sql)) { error_die(SQL_QUERY, "Could not query config information.", __LINE__, __FILE__); } else { $config = $db->sql_fetchrow($result); $sitename = stripslashes($config["sitename"]); $allow_html = $config["allow_html"]; $allow_bbcode = $config["allow_bbcode"]; $allow_sig = $config["allow_sig"]; $allow_namechange = $config["allow_namechange"]; $posts_per_page = $config["posts_per_page"]; $hot_threshold = $config["hot_threshold"]; $topics_per_page = $config["topics_per_page"]; $override_user_themes = $config["override_themes"]; $email_sig = stripslashes($config["email_sig"]); $email_from = $config["email_from"]; $default_lang = $config["default_lang"]; $require_activation = $config["require_activation"]; $sys_timezone = $config["system_timezone"]; $sys_lang = $default_lang; } include('language/lang_'.$default_lang.'.'.$phpEx); ?>