Skip to content

Commit

Permalink
Windows: Fix webrouter on IIS
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander A. Klimov <alexander.klimov@netways.de>
with the following changes:

Remove unneeded whitespace

fixes #8914
  • Loading branch information
grangeway authored and Al2Klimov committed Jun 12, 2015
1 parent e8cdcce commit edd8f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icinga/Application/webrouter.php
Expand Up @@ -31,7 +31,7 @@
$baseDir = dirname($_SERVER['SCRIPT_FILENAME']);

// Fix aliases
$remove = dirname($_SERVER['PHP_SELF']);
$remove = str_replace('\\', '/', dirname($_SERVER['PHP_SELF']));
if (substr($ruri, 0, strlen($remove)) !== $remove) {
return false;
}
Expand Down

0 comments on commit edd8f57

Please sign in to comment.