From 0dfe8c08b90c7505302aecaacfde9ec1c5edc5eb Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Mon, 28 Jan 2013 14:41:36 -0100 Subject: [PATCH] Add App_Code, App_Data and App_Plugins folders to be created during app startup --- .../EnsureSystemPathsApplicationStartupHandler.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web/umbraco.presentation/EnsureSystemPathsApplicationStartupHandler.cs b/src/Umbraco.Web/umbraco.presentation/EnsureSystemPathsApplicationStartupHandler.cs index 4fa5d515a1..553abb1589 100644 --- a/src/Umbraco.Web/umbraco.presentation/EnsureSystemPathsApplicationStartupHandler.cs +++ b/src/Umbraco.Web/umbraco.presentation/EnsureSystemPathsApplicationStartupHandler.cs @@ -13,8 +13,10 @@ namespace umbraco.presentation { public EnsureSystemPathsApplicationStartupHandler() { + EnsurePathExists("~/App_Code"); + EnsurePathExists("~/App_Data"); + EnsurePathExists(SystemDirectories.AppPlugins); EnsurePathExists(SystemDirectories.Css); - EnsurePathExists(SystemDirectories.Data); EnsurePathExists(SystemDirectories.MacroScripts); EnsurePathExists(SystemDirectories.Masterpages); EnsurePathExists(SystemDirectories.Media);