Windows: Fix webrouter on IIS

Signed-off-by: Alexander A. Klimov <alexander.klimov@netways.de>
with the following changes:

Remove unneeded whitespace

fixes #8914
This commit is contained in:
Paul Richards 2015-03-30 22:22:21 +01:00 committed by Alexander A. Klimov
parent e8cdcce61d
commit edd8f5738f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ $baseDir = $_SERVER['DOCUMENT_ROOT'];
$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;
}