mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 23:40:45 +08:00
Fix oopsie in d6632c061d
This commit is contained in:
parent
d399c38b96
commit
93531c6636
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user