mirror of
https://github.com/flarum/core.git
synced 2025-07-20 16:21:18 +02:00
Fix oopsie in d6632c061d
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user