Fixes: #U4-2075
This commit is contained in:
@@ -11,8 +11,9 @@ using System.Web.UI.WebControls;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Xml;
|
||||
using System.Xml.XPath;
|
||||
using Umbraco.Core.IO;
|
||||
using umbraco.BasePages;
|
||||
using umbraco.IO;
|
||||
using umbraco.BusinessLogic;
|
||||
using umbraco.cms.presentation.Trees;
|
||||
using BizLogicAction = umbraco.BusinessLogic.Actions.Action;
|
||||
|
||||
@@ -21,16 +22,21 @@ namespace umbraco.presentation.developer.packages
|
||||
/// <summary>
|
||||
/// Summary description for packager.
|
||||
/// </summary>
|
||||
public partial class Installer : BasePages.UmbracoEnsuredPage
|
||||
public partial class Installer : UmbracoEnsuredPage
|
||||
{
|
||||
public Installer()
|
||||
{
|
||||
CurrentApp = DefaultApps.developer.ToString();
|
||||
}
|
||||
|
||||
private Control _configControl;
|
||||
private cms.businesslogic.packager.repositories.Repository _repo;
|
||||
private readonly cms.businesslogic.packager.Installer _installer = new cms.businesslogic.packager.Installer();
|
||||
private string _tempFileName = "";
|
||||
|
||||
protected void Page_Load(object sender, System.EventArgs e)
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Exception ex = new Exception();
|
||||
var ex = new Exception();
|
||||
if (!cms.businesslogic.packager.Settings.HasFileAccess(ref ex))
|
||||
{
|
||||
fb.Style.Add("margin-top", "7px");
|
||||
@@ -285,19 +291,6 @@ namespace umbraco.presentation.developer.packages
|
||||
Response.Redirect("installer.aspx?installing=businesslogic&dir=" + tempFile.Value + "&pId=" + pId.ToString());
|
||||
}
|
||||
|
||||
|
||||
private void DrawConfig()
|
||||
{
|
||||
HideAllPanes();
|
||||
|
||||
_configControl = new System.Web.UI.UserControl().LoadControl(SystemDirectories.Root + helper.Request("config"));
|
||||
_configControl.ID = "packagerConfigControl";
|
||||
|
||||
pane_optional.Controls.Add(_configControl);
|
||||
pane_optional.Visible = true;
|
||||
}
|
||||
|
||||
|
||||
private void HideAllPanes()
|
||||
{
|
||||
pane_authenticate.Visible = false;
|
||||
|
||||
Reference in New Issue
Block a user