From 05c4237533a9477e28cd90502e50aa1902340339 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 17 Aug 2015 14:13:20 +0930 Subject: [PATCH] Prevent crash if no mail driver is set --- flarum/bootstrap.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flarum/bootstrap.php b/flarum/bootstrap.php index 043fe65..6f98dd6 100644 --- a/flarum/bootstrap.php +++ b/flarum/bootstrap.php @@ -28,6 +28,9 @@ $app->instance('config', $config = new \Illuminate\Config\Repository([ ], 'compiled' => realpath(storage_path().'/framework/views'), ], + 'mail' => [ + 'driver' => 'mail', + ], 'cache' => [ 'default' => 'file', 'stores' => [