示例#1
0
 /// <summary>
 /// Проверка наличия путей. При запуске клиента.
 /// </summary>
 /// <returns></returns>
 public static bool CheckPath()
 {
     if (!FBAFile.DirExists(FBAPath.PathApp, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathAdditional, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathLog, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathTemp, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathUpdate, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathRollback, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathSettings, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathSQL, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathForms, true))
     {
         return(false);
     }
     if (!FBAFile.DirExists(FBAPath.PathTemplate, true))
     {
         return(false);
     }
     return(true);
 }