1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 01:31:40 +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
*/
protected function getIlluminateConfig(Application $app)
protected function getIlluminateConfig()
{
return new ConfigRepository([
'view' => [
'paths' => [],
'compiled' => $this->paths->storage.'/views',
],
'mail' => [
'driver' => 'mail',
],
'session' => [
'lifetime' => 120,
'files' => $this->paths->storage.'/sessions',