Updates zipdownloaded so path isn't hardcoded but relative to the current site

This commit is contained in:
Tim Geyssens
2013-01-18 13:26:43 +01:00
parent d53c3b49a8
commit 5b91067e24
@@ -45,7 +45,7 @@ namespace uDocumentation.Busineslogic.GithubSourcePull
githubRepo));
Configuration = xd;
RootFolder = @"C:\inetpub\wwwroot\_Live Sites\our.umbraco.org" + project.Url.Replace("/",@"\") + @"\Documentation";
RootFolder = HttpContext.Current.Server.MapPath(@"~" + project.Url.Replace("/",@"\") + @"\Documentation");
IsProjectDocumentation = true;
}