bugfix, changed sql-patch naming scheme

This commit is contained in:
2024-06-07 12:10:36 +02:00
parent a9487d8620
commit 7c6e9b3643
7 changed files with 5 additions and 19 deletions

View File

@@ -30,7 +30,10 @@ $context->parseCookies();
$currentHostName = getCurrentHostName();
$installation = !$sql || ($sql->isConnected() && !$settings->isInstalled());
$requestedUri = $_GET["site"] ?? $_GET["api"] ?? $_SERVER["REQUEST_URI"];
$requestedUri = $_GET["site"] ?? $_GET["api"] ?? null;
if (!is_string($requestedUri)) {
$requestedUri = $_SERVER["REQUEST_URI"];
}
if ($installation) {
$requestedUri = Router::cleanURL($requestedUri);