From eb403d7baeb0ef75443da8e4afbd5573eb69c941 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 19 May 2015 01:53:37 +0200 Subject: [PATCH] Fix the config table seeder It should include the "extensions_enabled" key which is read when initializing all extensions. --- framework/core/src/Core/Seeders/ConfigTableSeeder.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/framework/core/src/Core/Seeders/ConfigTableSeeder.php b/framework/core/src/Core/Seeders/ConfigTableSeeder.php index 68211efb7..27daca92d 100644 --- a/framework/core/src/Core/Seeders/ConfigTableSeeder.php +++ b/framework/core/src/Core/Seeders/ConfigTableSeeder.php @@ -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) {