mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Minor fixes for setup. (#3586)
* Reduce release filesize * tweaks for github actions * Release asset * Tweaks for alpha release * Fixes for release * Fixes for alpha release * Fixes for setup * Minor fixes
This commit is contained in:
parent
d5ab9c32c6
commit
b162fde79e
@ -47,7 +47,7 @@ class SetupController extends Controller
|
|||||||
|
|
||||||
$mail_driver = $request->input('mail_driver');
|
$mail_driver = $request->input('mail_driver');
|
||||||
|
|
||||||
if(!$this->failsafeMailCheck())
|
if(!$this->failsafeMailCheck($request))
|
||||||
$mail_driver = 'log';
|
$mail_driver = 'log';
|
||||||
|
|
||||||
$_ENV['APP_KEY'] = config('app.key');
|
$_ENV['APP_KEY'] = config('app.key');
|
||||||
|
@ -47,10 +47,10 @@ class QueryLogging
|
|||||||
$count = count($queries);
|
$count = count($queries);
|
||||||
$timeEnd = microtime(true);
|
$timeEnd = microtime(true);
|
||||||
$time = $timeEnd - $timeStart;
|
$time = $timeEnd - $timeStart;
|
||||||
Log::info($request->method() . ' - ' . $request->url() . ": $count queries - " . $time);
|
// Log::info($request->method() . ' - ' . $request->url() . ": $count queries - " . $time);
|
||||||
|
|
||||||
if($count > 50)
|
// if($count > 50)
|
||||||
Log::info($queries);
|
// Log::info($queries);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user