1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 09:41:26 +02:00

Remove unnecessary laravel config (#2796)

This commit is contained in:
Alexander Skvortsov
2021-04-29 18:31:19 -04:00
committed by GitHub
parent 6b9e991082
commit edaf45d133

View File

@@ -153,19 +153,15 @@ class InstalledSite implements SiteInterface
} }
/** /**
* @param Application $app
* @return ConfigRepository * @return ConfigRepository
*/ */
protected function getIlluminateConfig(Application $app) protected function getIlluminateConfig()
{ {
return new ConfigRepository([ return new ConfigRepository([
'view' => [ 'view' => [
'paths' => [], 'paths' => [],
'compiled' => $this->paths->storage.'/views', 'compiled' => $this->paths->storage.'/views',
], ],
'mail' => [
'driver' => 'mail',
],
'session' => [ 'session' => [
'lifetime' => 120, 'lifetime' => 120,
'files' => $this->paths->storage.'/sessions', 'files' => $this->paths->storage.'/sessions',