Update server.php (#5863)

This commit is contained in:
Dries Vints 2022-04-12 15:37:49 +02:00 committed by GitHub
parent 6c1f430aa7
commit 843a4f81eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ?? ''
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the