From c1712dc992e0345b73eab6bab871f328da7b39e9 Mon Sep 17 00:00:00 2001 From: simonwelsh Date: Wed, 14 Sep 2011 19:46:49 +1200 Subject: [PATCH] Quote RewriteBase to handle paths with spaces --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index b65e253..31d009b 100644 --- a/install.php +++ b/install.php @@ -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 = <<