mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-23 18:07:42 +02:00
Fix typo in code comment (#5327)
Co-authored-by: Johannes Meyer <johannes.meyer@icinga.com>
This commit is contained in:
parent
16f9c82860
commit
2e164a75d4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user