This commit is contained in:
JonatanRek 2020-04-21 14:14:13 +02:00
parent 15dfc8464d
commit bc6acb470a

View File

@ -36,10 +36,6 @@ Class Autoloader {
Autoloader::setRoot('/var/www/dev.steelants.cz/vasek/home-update/'); Autoloader::setRoot('/var/www/dev.steelants.cz/vasek/home-update/');
spl_autoload_register("Autoloader::ClassLoader"); spl_autoload_register("Autoloader::ClassLoader");
// import routes
require_once './Routes.php';
//setup //setup
ini_set ('session.cookie_httponly', '1'); ini_set ('session.cookie_httponly', '1');
ini_set('session.cookie_domain', $_SERVER['HTTP_HOST']); ini_set('session.cookie_domain', $_SERVER['HTTP_HOST']);
@ -62,3 +58,5 @@ $userManager = new UserManager();
//Logs //Logs
$logManager = new LogManager(); $logManager = new LogManager();
// import routes
require_once './Routes.php';