Merge branch 'netcore/feature/auto-routing' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/auto-routing

This commit is contained in:
Shannon
2020-05-18 15:35:34 +10:00

View File

@@ -23,7 +23,7 @@ namespace Umbraco.Extensions
backOfficeControllerType = Assembly.Load("Umbraco.Web.BackOffice")?.GetType("Umbraco.Web.BackOffice.Controllers.BackOfficeController");
if (backOfficeControllerType == null) return "/"; // this would indicate that the installer is installed without the back office
}
catch (Exception)
catch
{
return hostingEnvironment.ApplicationVirtualPath; // this would indicate that the installer is installed without the back office
}