Browse Source

Change directory

Alan Lam 3 years ago
parent
commit
2ad5d690a7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tasks/send_open_leads.php

+ 2 - 0
tasks/send_open_leads.php

@@ -6,6 +6,8 @@ use App\Sale;
 use Carbon\CarbonImmutable;
 use PHPMailer\PHPMailer\PHPMailer;
 
+chdir(__DIR__);
+
 require "../boot.php";
 
 $dt_now = CarbonImmutable::now("Europe/London");