Code

Udpated login page
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 31 Aug 2007 11:53:59 +0000 (11:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 31 Aug 2007 11:53:59 +0000 (11:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7182 594d385d-05f5-0310-b6e9-bd551577e9d8

html/index.php

index b07da22c1a9e1d0b6eb6616e02fc6eab35f5e3ee..813ef72dc062013a59467d50a7248d17453504a6 100644 (file)
@@ -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);