if (!string.IsNullOrWhiteSpace (ConfigurationManager.AppSettings["Date"])) { ObjectFactory.GetInstance<IDataContext> ().ServiceHome.DateService.SetDate (Utils.ParseDateTime (ConfigurationManager.AppSettings["Date"])); }Please make sure this setting never gets set on the production environment.
No comments:
Post a Comment