From 5b91067e24e4f80ac1d72dd476dd35bf64a8dc8d Mon Sep 17 00:00:00 2001 From: Tim Geyssens Date: Fri, 18 Jan 2013 13:26:43 +0100 Subject: [PATCH] Updates zipdownloaded so path isn't hardcoded but relative to the current site --- uDocumentation/Busineslogic/GithubSourcePull/ZipDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uDocumentation/Busineslogic/GithubSourcePull/ZipDownloader.cs b/uDocumentation/Busineslogic/GithubSourcePull/ZipDownloader.cs index d4bd11fe..917406e6 100644 --- a/uDocumentation/Busineslogic/GithubSourcePull/ZipDownloader.cs +++ b/uDocumentation/Busineslogic/GithubSourcePull/ZipDownloader.cs @@ -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; }