BUGFIX #3115 ajshort: Fixed backslashes in temp folder location in manifest builder

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66918 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-11-28 03:03:56 +00:00
parent 8671b022e4
commit 7cce6782bc

View File

@ -114,7 +114,7 @@ class ManifestBuilder {
$output .= "global \$$globalName;\n\$$globalName = " . var_export($globalVal, true) . ";\n\n";
}
foreach($manifestInfo['require_once'] as $requireItem) {
$output .= "require_once(\"$requireItem\");\n";
$output .= 'require_once("' . addslashes($requireItem) . "\");\n";
}
return $output;