From 320c7179b08e7f8f8a0c2482cfe9daa01ea27f52 Mon Sep 17 00:00:00 2001 From: sminnee Date: Wed, 15 Oct 2008 04:35:26 +0000 Subject: [PATCH] BUGFIX #2903: Fix RewriteBase generation git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64296 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install.php b/install.php index efa53d2..551c0d5 100644 --- a/install.php +++ b/install.php @@ -807,6 +807,7 @@ PHP $base = dirname($_SERVER['SCRIPT_NAME']); if(defined('DIRECTORY_SEPARATOR')) $base = str_replace(DIRECTORY_SEPARATOR, '/', $base); + else $base = str_replace("\\", '/', $base); if($base != '.') $baseClause = "RewriteBase $base\n"; else $baseClause = "";