Browse Source

Use Whoops middleware on frontend front controller, too

pull/9/head
Franz Liedke 10 years ago
parent
commit
fd8d0b25c1
  1. 1
      index.php

1
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,

Loading…
Cancel
Save