Fix typo in code comment (#5327)

Co-authored-by: Johannes Meyer <johannes.meyer@icinga.com>
This commit is contained in:
Alexander Aleksandrovič Klimov 2025-08-22 12:01:01 +02:00 committed by GitHub
parent 16f9c82860
commit 2e164a75d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ if (isset($_SERVER['REQUEST_URI'])) {
}
// Workaround, PHPs internal Webserver seems to mess up SCRIPT_FILENAME
// as it prefixes it's absolute path with DOCUMENT_ROOT
// as it prefixes its absolute path with DOCUMENT_ROOT
if (preg_match('/^PHP.*Development Server/', $_SERVER['SERVER_SOFTWARE'])) {
$script = basename($_SERVER['SCRIPT_FILENAME']);
$_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = '/' . $script;