diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -58,13 +58,12 @@ if($DBopen<0) if(myisset('language') || isset($_SESSION['language'])) { $language = 'en'; - if(isset($_SESSION['language'])) - $language = $_SESSION['language']; + if(myisset('language')) - { - $language = $_REQUEST['language']; - $_SESSION['language'] = $language; /* overrule preferences */ - } + $language = $_REQUEST['language']; + else if(isset($_SESSION['language'])) + $language = $_SESSION['language']; + switch($language) { case 'de': |