mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +08: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:
parent
9fdafcc014
commit
eb403d7bae
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user