BUGFIX #2903: Fix RewriteBase generation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64296 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2008-10-15 04:35:26 +00:00
parent 7a43c6b805
commit 320c7179b0
1 changed files with 1 additions and 0 deletions

View File

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