瀏覽代碼

add isStop

visuddhinanda 2 年之前
父節點
當前提交
a5103ae826
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/Tools/Tools.php

+ 2 - 0
app/Tools/Tools.php

@@ -1,9 +1,11 @@
 <?php
 <?php
 namespace App\Tools;
 namespace App\Tools;
+use Illuminate\Support\Facades\Log;
 
 
 class Tools{
 class Tools{
     public static function isStop(){
     public static function isStop(){
         if(file_exists(base_path('.stop'))){
         if(file_exists(base_path('.stop'))){
+            Log::debug('.stop exists');
             return true;
             return true;
         }else{
         }else{
             return false;
             return false;