1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Fixes for query logging

This commit is contained in:
David Bomba 2022-08-01 07:46:45 +10:00
parent 7ac4786bff
commit 4634662136

View File

@ -35,9 +35,9 @@ class QueryLogging
{
// Enable query logging for development
// if (! Ninja::isHosted() || ! config('beacon.enabled')) {
// return $next($request);
// }
if (! Ninja::isHosted() || ! config('beacon.enabled')) {
return $next($request);
}
$timeStart = microtime(true);
DB::enableQueryLog();