Fix file names, ignore installer in test env

This commit is contained in:
James Cole 2018-03-07 21:04:10 +01:00
parent 82e7479cfe
commit f68a307eeb
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,9 @@ class Installer
*/
public function handle($request, Closure $next)
{
if(env('APP_ENV') === 'testing') {
return $next($request);
}
$url = $request->url();
$strpos = stripos($url, '/install');
if (!($strpos === false)) {

View File

@ -64,13 +64,13 @@ return [
'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'),
'days' => 7,
],
'dailytest' => [
'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'),
'days' => 7,
],