예제 #1
0
        public static void Reset()
        {
            UmbracoSettings.Reset();
            GlobalSettings.Reset();

            foreach (var kvp in SavedAppSettings)
            {
                ConfigurationManager.AppSettings.Set(kvp.Key, kvp.Value);
            }

            // set some defaults that are wrong in the config file?!
            // this is annoying, really
            HideTopLevelNodeFromPath = false;
        }
예제 #2
0
 public void TearDown()
 {
     UmbracoSettings.Reset();
 }