exit on redirect
This commit is contained in:
parent
b3b855d505
commit
6861f5cf03
@ -60,7 +60,12 @@ function initRouter(): bool
|
|||||||
$routerRequest["type"] = "page";
|
$routerRequest["type"] = "page";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo $needsRedirect;
|
if ($needsRedirect){
|
||||||
|
echo "yes";
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
echo "no";
|
||||||
|
}
|
||||||
return !$needsRedirect;
|
return !$needsRedirect;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user