public void DeleteLogo() { if (strUtil.HasText(config.Instance.Site.SiteLogo)) { wojilu.Drawing.Img.DeleteImgAndThumb(strUtil.Join(sys.Path.DiskPhoto, config.Instance.Site.SiteLogo)); config.Instance.Site.SiteLogo = ""; config.Instance.Site.Update("SiteLogo", ""); log(SiteLogString.DeleteLogo()); redirect(Logo); } else { echoRedirect(lang("notUploadLogo")); } }