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 = "";