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:
parent
7ac4786bff
commit
4634662136
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user