diff --git a/index.php b/index.php index 2c4bfce..078d973 100644 --- a/index.php +++ b/index.php @@ -12,7 +12,8 @@ $routerConfig = array(); $routerRequest = array(); loadRouterConfig(); -if(initRouter()) { +$canRender = initRouter(); +if($canRender) { /** @noinspection PhpArrayIsAlwaysEmptyInspection */ session_set_cookie_params(0, '/', "." . $routerRequest["domain"] . "." . $routerRequest["tld"], true, true); session_start();