uawdijnntqw1x1x1
IP : 216.73.216.39
Hostname : diefsweb003.fsit.ch
Kernel : Linux diefsweb003.fsit.ch 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
wirbesti
/
nousdecidons.ch
/
472b8
/
..
/
..
/
unwaehlbar.ch
/
src
/
..
/
language.php
/
/
<?php $languages = array('de','fr','it'); // handle languages selection $language = $_GET['lang'] ?? $_SESSION['lang'] ?? 'de'; if (in_array($language, $languages)) { $_SESSION['lang'] = $language; } // define LANG constant only if it exists in $languages array, otherwise default to EN define('LANG', in_array($_SESSION['lang'], $languages) ? $language : 'de'); try { setcookie('lang', $language, ['samesite' => 'Strict','expires' => time() + 86400,]); //it's stored in a cookie so it can be reused } catch (\Throwable $e) { echo 'could not set cookie '.$e; die(); } ?>
/home/wirbesti/nousdecidons.ch/472b8/../../unwaehlbar.ch/src/../language.php