diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php index 0a64ae2c7c..188f6ff9ff 100644 --- a/app/Http/Controllers/SetupController.php +++ b/app/Http/Controllers/SetupController.php @@ -47,7 +47,7 @@ class SetupController extends Controller $mail_driver = $request->input('mail_driver'); - if(!$this->failsafeMailCheck()) + if(!$this->failsafeMailCheck($request)) $mail_driver = 'log'; $_ENV['APP_KEY'] = config('app.key'); diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index 69d011c0f5..0a0d7d2cf9 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -47,10 +47,10 @@ class QueryLogging $count = count($queries); $timeEnd = microtime(true); $time = $timeEnd - $timeStart; - Log::info($request->method() . ' - ' . $request->url() . ": $count queries - " . $time); + // Log::info($request->method() . ' - ' . $request->url() . ": $count queries - " . $time); - if($count > 50) - Log::info($queries); + // if($count > 50) + // Log::info($queries); } }