} $cfg = $func->read_db_config(); // Config-Tabelle aulesen $sec->check_blacklist(); // Set timezone info (php + mysql) if ($cfg['sys_timezone'] and function_exists('date_default_timezone_set')) { #date_default_timezone_set($cfg['sys_timezone']); #$db->qry('SET SESSION time_zone = %string%', $cfg['sys_timezone']); ##$db->qry('SET SESSION time_zone = \'+0:00\''); } if (!$_GET['mod']) { $_GET['mod'] = 'home'; } $func->getActiveModules(); $framework->AddToPageTitle($cfg['sys_page_title']); if ($func->isModActive($_GET['mod'], $caption) && $_GET['mod'] != 'home') { $framework->AddToPageTitle($caption); } ### Start autentication, just if LS is working include_once "inc/classes/class_auth.php"; $authentication = new auth($frmwrkmode); $auth = $authentication->check_logon(); // Testet Cookie / Session ob User eingeloggt ist $olduserid = $authentication->get_olduserid(); // Olduserid for Switback on Boxes } // Initialize party // Needed also, when not configured for LanSurfer Import if ($func->isModActive('party')) { include_once "modules/party/class_party.php"; $party = new party();