/// <summary> /// 写入站点配置文件 /// </summary> public siteconfig saveConifg(siteconfig model, string configFilePath) { lock (lockHelper) { SerializationHelper.Save(model, configFilePath); } return model; }
/// <summary> /// 保存配置文件 /// </summary> public siteconfig saveConifg(siteconfig model) { return this._repository.saveConifg(model, Utils.GetXmlMapPath(SystemKeys.FILE_SITE_XML_CONFING)); }
public UpLoad() { siteConfig = new SiteConfig(new SiteConfigRepository()).loadConfig(); }
public admin_ajax() { siteConfig = new SiteConfig(new SiteConfigRepository()).loadConfig(); }
public ManagePage() { this.Load += new EventHandler(ManagePage_Load); siteConfig = new SiteConfig(new SiteConfigRepository()).loadConfig(); }
public Login() { siteConfig = new SiteConfig(new SiteConfigRepository()).loadConfig(); }