mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 02:52:35 +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 = $this->app->config('database');
|
||||||
$dbConfig['engine'] = 'InnoDB';
|
$dbConfig['engine'] = 'InnoDB';
|
||||||
$connection = $factory->make($this->app->config('database'));
|
$connection = $factory->make($dbConfig);
|
||||||
$connection->setEventDispatcher($this->app->make('Illuminate\Contracts\Events\Dispatcher'));
|
$connection->setEventDispatcher($this->app->make('Illuminate\Contracts\Events\Dispatcher'));
|
||||||
|
|
||||||
return $connection;
|
return $connection;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user