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

@ -14,11 +14,12 @@ class ConfigTableSeeder extends Seeder
public function run()
{
$config = [
'api_url' => 'http://flarum.dev/api',
'base_url' => 'http://flarum.dev',
'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_title' => 'Welcome to Flarum Demo Forum'
'api_url' => 'http://flarum.dev/api',
'base_url' => 'http://flarum.dev',
'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_title' => 'Welcome to Flarum Demo Forum',
'extensions_enabled' => '[]',
];
DB::table('config')->insert(array_map(function ($key, $value) {