mirror of
https://github.com/flarum/core.git
synced 2025-07-23 09:41:26 +02:00
Fix the config table seeder
It should include the "extensions_enabled" key which is read when initializing all extensions.
This commit is contained in:
@@ -14,11 +14,12 @@ class ConfigTableSeeder extends Seeder
|
|||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
$config = [
|
$config = [
|
||||||
'api_url' => 'http://flarum.dev/api',
|
'api_url' => 'http://flarum.dev/api',
|
||||||
'base_url' => 'http://flarum.dev',
|
'base_url' => 'http://flarum.dev',
|
||||||
'forum_title' => 'Flarum Demo Forum',
|
'forum_title' => 'Flarum Demo Forum',
|
||||||
'welcome_message' => 'Flarum is now at a point where you can have basic conversations, so here is a little demo for you to break.',
|
'welcome_message' => 'Flarum is now at a point where you can have basic conversations, so here is a little demo for you to break.',
|
||||||
'welcome_title' => 'Welcome to Flarum Demo Forum'
|
'welcome_title' => 'Welcome to Flarum Demo Forum',
|
||||||
|
'extensions_enabled' => '[]',
|
||||||
];
|
];
|
||||||
|
|
||||||
DB::table('config')->insert(array_map(function ($key, $value) {
|
DB::table('config')->insert(array_map(function ($key, $value) {
|
||||||
|
Reference in New Issue
Block a user