1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 16:21:18 +02:00
This commit is contained in:
Toby Zerner
2018-12-04 08:54:33 +10:30
parent d399c38b96
commit 93531c6636

View File

@@ -27,7 +27,7 @@ class DatabaseServiceProvider extends AbstractServiceProvider
$dbConfig = $this->app->config('database');
$dbConfig['engine'] = 'InnoDB';
$connection = $factory->make($this->app->config('database'));
$connection = $factory->make($dbConfig);
$connection->setEventDispatcher($this->app->make('Illuminate\Contracts\Events\Dispatcher'));
return $connection;