diff --git a/DNN Platform/Website/Default.aspx.cs b/DNN Platform/Website/Default.aspx.cs index ca921aba42c..9ad02fc311d 100644 --- a/DNN Platform/Website/Default.aspx.cs +++ b/DNN Platform/Website/Default.aspx.cs @@ -227,6 +227,8 @@ protected override void OnInit(EventArgs e) var ctlSkin = this.GetSkin(); + this.clientResourceController.RegisterPathNameAlias("SkinPath", this.CurrentSkinPath); + // check for and read skin package level doctype this.SetSkinDoctype(); @@ -450,7 +452,7 @@ private void InitializePage() // Configure the ActiveTab with Skin/Container information this.portalSettingsController.ConfigureActiveTab(this.PortalSettings); - this.clientResourceController.RegisterPathNameAlias("SkinPath", this.CurrentSkinPath); + // this.clientResourceController.RegisterPathNameAlias("SkinPath", this.CurrentSkinPath); // redirect to a specific tab based on name if (!string.IsNullOrEmpty(this.Request.QueryString["tabname"])) @@ -876,3 +878,4 @@ private string GetCssVariablesStylesheetCallback(CacheItemArgs args) } } } +