mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Improve quality for url
This commit is contained in:
parent
f3a56c8174
commit
ae1af32b59
@ -52,12 +52,12 @@ class QueryLogging
|
||||
$timeEnd = microtime(true);
|
||||
$time = $timeEnd - $timeStart;
|
||||
|
||||
nlog($request->method().' - '.$request->url().": $count queries - ".$time);
|
||||
nlog($request->method().' - '.urldecode($request->fullUrl()).": $count queries - ".$time);
|
||||
|
||||
// if($count > 50)
|
||||
//nlog($queries);
|
||||
|
||||
LightLogs::create(new DbQuery($request->method(), $request->url(), $count, $time, request()->ip()))
|
||||
LightLogs::create(new DbQuery($request->method(), urldecode($request->fullUrl()), $count, $time, request()->ip()))
|
||||
->batch();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user