include_once "inc/classes/class_db_mysql.php"; // DB Functions (to work with the databse) $db = new db(); include_once "inc/classes/class_sec.php"; // Security Functions (to lock pages) $sec = new sec(); if (isset($debug)) { $debug->tracker("Include and Init Base Classes"); } ### Initalize Basic Parameters $language = $translation->get_lang(); // Set and Read Systemlanguage $smarty->assign('language', $language); ### Installingsystem or normal auth if ($config['environment']['configured'] == 0) { $translation->load_trans('xml', 'install'); // Filemode on Installation ### Prepare install // Force installwizard if LS not configured $_GET['mod'] = 'install'; $_GET['action'] = 'wizard'; // Silent connect $db->connect(1); $IsAboutToInstall = 1; // Force Adminrights for installing User $auth["type"] = 3; $auth["login"] = 1; // Load DB-Data after installwizard step 3 if ($_GET["action"] == "wizard" and $_GET["step"] > 3) { $cfg = $func->read_db_config(); // read Configtable