mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 15:05:33 +00:00
Merge pull request #5 from simonwelsh/patch-2
BUGFIX: Quote RewriteBase to handle paths with spaces
This commit is contained in:
commit
8b08fa2058
@ -1177,7 +1177,7 @@ HTML;
|
||||
if(defined('DIRECTORY_SEPARATOR')) $base = str_replace(DIRECTORY_SEPARATOR, '/', $base);
|
||||
else $base = str_replace("\\", '/', $base);
|
||||
|
||||
if($base != '.') $baseClause = "RewriteBase $base\n";
|
||||
if($base != '.') $baseClause = "RewriteBase '$base'\n";
|
||||
else $baseClause = "";
|
||||
|
||||
$rewrite = <<<TEXT
|
||||
|
Loading…
x
Reference in New Issue
Block a user