protected override void Render(HtmlTextWriter writer) { if (!CopyrightLicenser.CheckCopyright()) { writer.Write(string.Format(this.renderFormat, HiContext.Current.SiteSettings.SiteUrl)); } }
protected override void Render(HtmlTextWriter writer) { if (!CopyrightLicenser.CheckCopyright()) { writer.Write(string.Format(this.renderFormat, SettingsManager.GetMasterSettings(false).SiteUrl)); } }
public HiConfiguration() { if (!CopyrightLicenser.CheckCopyright()) { throw new Exception("非法部署,请与供应商联系:"); } }