From 0f7c7394703822307b4ccc3501c207a4e4f206e6 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 3 May 2025 21:39:58 +0200 Subject: [PATCH] Update BaseURL.php Fix PHP-CS --- src/App/BaseURL.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/App/BaseURL.php b/src/App/BaseURL.php index 0ebf72dbf8..7aaafdc8bf 100644 --- a/src/App/BaseURL.php +++ b/src/App/BaseURL.php @@ -42,8 +42,7 @@ class BaseURL extends Uri implements UriInterface /* Relative script path to the web server root * Not all of those $_SERVER properties can be present, so we do by inverse priority order */ - $relativeScriptPath = - ($server['REDIRECT_URL'] ?? '') ?: + $relativeScriptPath = ($server['REDIRECT_URL'] ?? '') ?: ($server['REDIRECT_URI'] ?? '') ?: ($server['REDIRECT_SCRIPT_URL'] ?? '') ?: ($server['SCRIPT_URL'] ?? '') ?: