From: hickert Date: Fri, 31 Aug 2007 11:53:59 +0000 (+0000) Subject: Udpated login page X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=02d69c49e03da2746ca5d744caadd148660c5c6e;p=gosa.git Udpated login page git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7182 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/index.php b/html/index.php index b07da22c1..813ef72dc 100644 --- a/html/index.php +++ b/html/index.php @@ -149,11 +149,7 @@ if (!(is_dir($smarty->compile_dir) && is_writable($smarty->compile_dir))){ clean_smarty_compile_dir($smarty->compile_dir); /* Language setup */ -if ($config->data['MAIN']['LANG'] == ""){ - $lang= get_browser_language(); -} else { - $lang= $config->data['MAIN']['LANG']; -} +$lang= get_browser_language(); putenv("LANGUAGE="); putenv("LANG=$lang"); setlocale(LC_ALL, $lang);