Fix the config table seeder

It should include the "extensions_enabled" key which is read
when initializing all extensions.
This commit is contained in:
Franz Liedke 2015-05-19 01:53:37 +02:00
parent 9fdafcc014
commit eb403d7bae

View File

@ -18,7 +18,8 @@ class ConfigTableSeeder extends Seeder
'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) {