Exemplo n.º 1
0
        public static bool IsDebug()
        {
            //string debug = System.Configuration.ConfigurationManager.AppSettings["ZDSL.Webapp.debug"];
            AdminBiz adminBiz = AdminBiz.GetInstant();

            return(AdminBiz.GetCurrConfig().staticInd != BaseModel.IND_Y);
        }
Exemplo n.º 2
0
 public ActionResult GobalConfig()
 {
     ViewData[typeof(ConfigModel).Name] = AdminBiz.GetCurrConfig();
     return(View());
 }