From 9a1935e6ea6faca2255a8425516a9e371a977f48 Mon Sep 17 00:00:00 2001 From: "shannon@ShandemVaio" Date: Thu, 19 Jul 2012 01:06:39 +0600 Subject: [PATCH] Fixes small merge issue --- src/umbraco.businesslogic/ApplicationTree.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/umbraco.businesslogic/ApplicationTree.cs b/src/umbraco.businesslogic/ApplicationTree.cs index 3672222d11..d5a4ff4ffa 100644 --- a/src/umbraco.businesslogic/ApplicationTree.cs +++ b/src/umbraco.businesslogic/ApplicationTree.cs @@ -480,11 +480,13 @@ namespace umbraco.BusinessLogic if (saveAfterCallback) { - doc.Save(TreeConfigFilePath); + Directory.CreateDirectory(Path.GetDirectoryName(TreeConfigFilePath)); doc.Save(TreeConfigFilePath); + ReCache(); } + } } } }