index 55b12943b84fa58768b128c9495d2b5bbf277537..05990a151eade1cee0e027a6b7e78f1039af60d0 100644 (file)
}
/* Language setup */
-if ((!isset($config)) || $config->get_cfg_value("lang") == ""){
+if ((!isset($config)) || $config->get_cfg_value("language") == ""){
$lang= get_browser_language();
} else {
- $lang= $config->get_cfg_value("lang");
+ $lang= $config->get_cfg_value("language");
}
-$lang.=".UTF-8";
putenv("LANGUAGE=");
putenv("LANG=$lang");
setlocale(LC_ALL, $lang);
session::destroy ();
/* If we're not using htaccess authentication, just redirect... */
- if (isset($config) && $config->get_cfg_value("htaccess_auth") == "true"){
+ if (isset($config) && $config->get_cfg_value("htaccessAuthentication") == "true"){
/* Else notice that the user has to close the browser... */
$smarty->display (get_template_path('headers.tpl'));