exit on redirect

This commit is contained in:
Bruno Rybársky 2024-02-02 16:19:29 +01:00
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;
} }