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();
|
$routerRequest = array();
|
||||||
|
|
||||||
loadRouterConfig();
|
loadRouterConfig();
|
||||||
if(initRouter()) {
|
$canRender = initRouter();
|
||||||
|
if($canRender) {
|
||||||
/** @noinspection PhpArrayIsAlwaysEmptyInspection */
|
/** @noinspection PhpArrayIsAlwaysEmptyInspection */
|
||||||
session_set_cookie_params(0, '/', "." . $routerRequest["domain"] . "." . $routerRequest["tld"], true, true);
|
session_set_cookie_params(0, '/', "." . $routerRequest["domain"] . "." . $routerRequest["tld"], true, true);
|
||||||
session_start();
|
session_start();
|
||||||
|
Loading…
Reference in New Issue
Block a user