forked from Adleraci/adlerka.top
exit on redirect
This commit is contained in:
parent
ac6ceb77a1
commit
2edc604327
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user