1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 05:00:56 +02:00

fixes session during installation (#1418)

* fixes session during installation

* Apply fixes from StyleCI

[ci skip] [skip ci]

* styling of commented code, removed unnecessary import
This commit is contained in:
Daniël Klabbers
2018-05-08 10:32:28 +02:00
committed by GitHub
parent c4a501f82a
commit b8632d693a
2 changed files with 4 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ class Server
// (Right now it tries to resolve a database connection because of the injected settings repo instance)
// We could register a different settings repo when Flarum is not installed
//$pipe->pipe($this->app->make(HandleErrors::class, ['debug' => true]));
$pipe->pipe($this->app->make(StartSession::class));
//$pipe->pipe($this->app->make(StartSession::class));
$pipe->pipe($this->app->make(DispatchRoute::class, ['routes' => $this->app->make('flarum.install.routes')]));
return $pipe;