summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 270df98)
raw | patch | inline | side by side (parent: 270df98)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 31 Aug 2007 11:53:59 +0000 (11:53 +0000) | ||
committer | hickert <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 | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index b07da22c1a9e1d0b6eb6616e02fc6eab35f5e3ee..813ef72dc062013a59467d50a7248d17453504a6 100644 (file)
--- a/html/index.php
+++ b/html/index.php
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);