From d9d7915f2b0627b134ddd9e982d17dff8cc05fba Mon Sep 17 00:00:00 2001 From: didier Date: Sun, 20 Oct 2024 12:17:21 +0200 Subject: [PATCH] fix APP_DEBUG flag --- app/Providers/AppServiceProvider.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 97017039..0c84d575 100755 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -31,8 +31,7 @@ public function boot() URL::forceScheme('https'); } -// if (true) { - if (Config::get('APP_DEBUG')) { + if (env('APP_DEBUG')) { DB::listen(function ($query) { Log::info( $query->sql,