Fixes #29401: Bug - packager doesn't handle files that are at the root of the website

[TFS Changeset #80525]
This commit is contained in:
starfighter83
2010-11-24 12:16:08 +00:00
parent 730ded46a6
commit fbdad77bac

View File

@@ -207,7 +207,7 @@ namespace umbraco.cms.businesslogic.packager {
XmlNode file = doc.CreateElement("file");
file.AppendChild(_node("guid", newFileName, doc));
file.AppendChild(_node("orgPath", orgPath, doc));
file.AppendChild(_node("orgPath", orgPath == "" ? "/" : orgPath, doc));
file.AppendChild(_node("orgName", orgName, doc));
files.AppendChild(file);