mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fix typo in code comment
This commit is contained in:
parent
79971cb1a6
commit
db7efab8cf
@ -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