Ejemplo n.º 1
0
 public static Settings Init(string path)
 {
     Instance = new Settings();
     Instance.InitDefault();
     if (path != null && File.Exists(path))
     {
         Instance.InitFile(path);
     }
     else
     {
         Logger.Info("No settings file");
     }
     return Instance;
 }