Exemple #1
0
 static void loadServerConfig()
 {
     try
     {
         if (ServerOptions.Exist())
         {
             serverOptions = ServerOptions.Load();
         }
         else
         {
             serverOptions = new ServerOptions();
             serverOptions.Save();
         }
     }
     catch (System.Exception ex) { Log.Logger.log(Log.Logger.LOG_ERROR, ex.ToString()); serverOptions = new ServerOptions(); }
 }