startSession((int)$_COOKIE['msz_uid'], $_COOKIE['msz_sid']); } $app->startRouter(include __DIR__ . '/../routes.php'); $app->startTemplating(); echo $app->router->resolve( RouterRequest::fromServer($_SERVER, $_GET, $_POST, $_COOKIE) );