diff --git a/library/Icinga/Application/webrouter.php b/library/Icinga/Application/webrouter.php index d9ab30b4a..4ab013bf3 100644 --- a/library/Icinga/Application/webrouter.php +++ b/library/Icinga/Application/webrouter.php @@ -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;