visuddhinanda vor 2 Jahren
Ursprung
Commit
654d29fe95
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 7 0
      app/Tools/Tools.php

+ 7 - 0
app/Tools/Tools.php

@@ -2,6 +2,13 @@
 namespace App\Tools;
 namespace App\Tools;
 
 
 class Tools{
 class Tools{
+    public static function isStop(){
+        if(file_exists(base_path('.stop'))){
+            return true;
+        }else{
+            return false;
+        }
+    }
 
 
     public static function getWordEn($strIn)
     public static function getWordEn($strIn)
         {
         {