Browse Source

add isStop

visuddhinanda 2 years ago
parent
commit
a5103ae826
1 changed files with 2 additions and 0 deletions
  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;