From: Philipp Date: Sat, 3 May 2025 19:39:58 +0000 (+0200) Subject: Update BaseURL.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0f7c7394703822307b4ccc3501c207a4e4f206e6;p=friendica.git Update BaseURL.php Fix PHP-CS --- 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'] ?? '') ?: