From 0ff6775e55e6ede15bfdb9d7ef28e92212e56561 Mon Sep 17 00:00:00 2001 From: hartvig Date: Thu, 18 Aug 2011 07:38:58 -0200 Subject: [PATCH] Fixes "CSS path does not change when umbracoCssDirectory is added in web.config" Work items: 30417 --- .../stylesheet/editstylesheet.aspx.cs | 2 +- umbraco/presentation/web.config | 458 +++++++++--------- 2 files changed, 217 insertions(+), 243 deletions(-) diff --git a/umbraco/presentation/umbraco/settings/stylesheet/editstylesheet.aspx.cs b/umbraco/presentation/umbraco/settings/stylesheet/editstylesheet.aspx.cs index 9c7f4993a0..9388593bac 100644 --- a/umbraco/presentation/umbraco/settings/stylesheet/editstylesheet.aspx.cs +++ b/umbraco/presentation/umbraco/settings/stylesheet/editstylesheet.aspx.cs @@ -51,7 +51,7 @@ namespace umbraco.cms.presentation.settings.stylesheet if (appPath == "/") appPath = ""; lttPath.Text = "" + appPath + - "/css/" + stylesheet.Text + ".css"; + IO.SystemDirectories.Css + "/" + stylesheet.Text + ".css"; if (!IsPostBack) diff --git a/umbraco/presentation/web.config b/umbraco/presentation/web.config index 6bccc8deed..fb8ab413ed 100644 --- a/umbraco/presentation/web.config +++ b/umbraco/presentation/web.config @@ -1,16 +1,15 @@ - + - -
- - - - - -
- - -
-
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + \ No newline at end of file