From 4e0fba84015414b718b950ad901ce34dc314773f Mon Sep 17 00:00:00 2001 From: sminnee Date: Tue, 14 Oct 2008 04:16:26 +0000 Subject: [PATCH] BUGFIX #2903: Fix RewriteBase generation on window git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64212 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 075a426..1db954f 100644 --- a/install.php +++ b/install.php @@ -806,7 +806,7 @@ PHP $end = "\n### SILVERSTRIPE END ###"; $base = dirname($_SERVER['SCRIPT_NAME']); - if(defined('DIRECTORY_SEPARATOR')) $base = str_replace('/',DIRECTORY_SEPARATOR, $base); + if(defined('DIRECTORY_SEPARATOR')) $base = str_replace(DIRECTORY_SEPARATOR, '/', $base); if($base != '.') $baseClause = "RewriteBase $base\n"; else $baseClause = "";