<< Home

'; phpinfo(); echo '

<< Home

'; exit(); } if (isset($_POST['htaccess']) || 'schutz' == $action) { include './inc/home/protection_create.php'; } if ('edithtaccess' == $action) { include './inc/home/protection_edit.php'; } if ('deletehtaccess' == $action) { include './inc/home/protection_delete.php'; } $check_update = false; if (extension_loaded('zlib')) { $update = new AutoUpdate($config['paths']['temp'], $config['paths']['root'], 60); $update->setCurrentVersion(MOD_VERSION); // Replace with your server update directory $update->setUpdateUrl('https://oos-shop.de/modserver'); // Custom logger (optional) $logger = new \Monolog\Logger("default"); $logger->pushHandler(new Monolog\Handler\StreamHandler($config['paths']['log'] . 'update.log')); $update->setLogger($logger); // Cache (optional but recommended) $cache = new Desarrolla2\Cache\File($config['paths']['cache']); $update->setCache($cache, 3600); // Check for a new update if ($update->checkUpdate() === false) { // die('Could not check for updates! See log file for details.'); $check_update = false; } else { $check_update = true; } if ('update' == $action) { echo MODHeader(); require_once './inc/home/update.php'; echo MODFooter(); exit; } } // Output headnavi $tpl = new MODTemplate(); $tpl->set_filenames([ 'show' => 'tpl/home/headnavi.tpl', ]); $tpl->assign_vars([ 'HEADER' => MODHeader(), 'HEADLINE' => headline($lang['L_HOME']), ]); $tpl->pparse('show'); mod_mysqli_connect(); if ('status' == $action) { include './inc/home/home.php'; } elseif ('db' == $action) { include './inc/home/databases.php'; } elseif ('sys' == $action) { include './inc/home/system.php'; } elseif ('vars' == $action) { include './inc/home/mysql_variables.php'; } echo MODFooter(); ob_end_flush(); exit();