From 02d69c49e03da2746ca5d744caadd148660c5c6e Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 31 Aug 2007 11:53:59 +0000 Subject: [PATCH] Udpated login page git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7182 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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); -- 2.30.2