소스 검색

add isStop

visuddhinanda 3 년 전
부모
커밋
654d29fe95
1개의 변경된 파일과 7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      app/Tools/Tools.php

+ 7 - 0
app/Tools/Tools.php

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