mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix file names, ignore installer in test env
This commit is contained in:
parent
82e7479cfe
commit
f68a307eeb
@ -26,6 +26,9 @@ class Installer
|
|||||||
*/
|
*/
|
||||||
public function handle($request, Closure $next)
|
public function handle($request, Closure $next)
|
||||||
{
|
{
|
||||||
|
if(env('APP_ENV') === 'testing') {
|
||||||
|
return $next($request);
|
||||||
|
}
|
||||||
$url = $request->url();
|
$url = $request->url();
|
||||||
$strpos = stripos($url, '/install');
|
$strpos = stripos($url, '/install');
|
||||||
if (!($strpos === false)) {
|
if (!($strpos === false)) {
|
||||||
|
@ -64,13 +64,13 @@ return [
|
|||||||
|
|
||||||
'daily' => [
|
'daily' => [
|
||||||
'driver' => 'daily',
|
'driver' => 'daily',
|
||||||
'path' => storage_path('logs/ff3-' . php_sapi_name() . '-.log'),
|
'path' => storage_path('logs/ff3-' . php_sapi_name() . '.log'),
|
||||||
'level' => env('APP_LOG_LEVEL', 'info'),
|
'level' => env('APP_LOG_LEVEL', 'info'),
|
||||||
'days' => 7,
|
'days' => 7,
|
||||||
],
|
],
|
||||||
'dailytest' => [
|
'dailytest' => [
|
||||||
'driver' => 'daily',
|
'driver' => 'daily',
|
||||||
'path' => storage_path('logs/test-ff3-' . php_sapi_name() . '-.log'),
|
'path' => storage_path('logs/test-ff3-' . php_sapi_name() . '.log'),
|
||||||
'level' => env('APP_LOG_LEVEL', 'info'),
|
'level' => env('APP_LOG_LEVEL', 'info'),
|
||||||
'days' => 7,
|
'days' => 7,
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user