11800) { unset($_SESSION['logined_user'],$_SESSION['logined_printing'],$_SESSION['timestamp']); header("Location: index.php"); //redirect to index.php exit; } else { $_SESSION['timestamp'] = time(); //set new timestamp } } define('ROOT', dirname(__DIR__) . DIRECTORY_SEPARATOR); define('APP', ROOT . 'application' . DIRECTORY_SEPARATOR); if (file_exists(APP . 'vendor/autoload.php')) { require_once APP . 'vendor/autoload.php'; } require_once(APP . 'config/config.php'); require_once(APP . 'core/application.php'); require_once(APP . 'core/controller.php'); $app = new Application(); ?>