From fd8d0b25c123c5aca7af77e1aa7abeb64a4b03a4 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Wed, 17 Jun 2015 02:02:50 +0200 Subject: [PATCH] Use Whoops middleware on frontend front controller, too --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index ba78751..7574568 100644 --- a/index.php +++ b/index.php @@ -23,6 +23,7 @@ $admin->pipe($app->make('Flarum\Http\RouterMiddleware', ['routes' => $app->make( $flarum->pipe('/admin.php', $admin); $flarum->pipe('/index.php', $app->make('Flarum\Http\RouterMiddleware', ['routes' => $app->make('flarum.forum.routes')])); +$flarum->pipe(new \Franzl\Middleware\Whoops\Middleware()); $server = Server::createServer( $flarum,