Gets lots of the new installer logic working

This commit is contained in:
Shannon
2014-02-26 16:01:31 +01:00
parent f9475305bb
commit f9304d7f04
48 changed files with 1745 additions and 728 deletions

View File

@@ -46,6 +46,15 @@ namespace Umbraco.Web.Install.Controllers
}
}
//get a package GUID
var r = new org.umbraco.our.Repository();
var modules = r.Modules();
var defaultPackageId = modules.First().RepoGuid;
ViewBag.DefaultPackageId = defaultPackageId;
//gen the install base url
ViewBag.InstallApiBaseUrl = Url.GetUmbracoApiService("GetSetup", "InstallApi", "install").TrimEnd("GetSetup");
return View();
}