1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

Move default settings to install step

The various installation "frontends" (such as GUI and console) can now
provide custom overrides, if they want to.
This commit is contained in:
Franz Liedke
2019-01-22 21:49:42 +01:00
parent f5a21584c2
commit bc9e8f68f1
7 changed files with 37 additions and 69 deletions

View File

@@ -69,22 +69,8 @@ class DefaultInstallationTest extends TestCase
private function getSettings()
{
return [
'allow_post_editing' => 'reply',
'allow_renaming' => '10',
'allow_sign_up' => '1',
'custom_less' => '',
'default_locale' => 'en',
'default_route' => '/all',
'extensions_enabled' => '[]',
'forum_title' => 'Development Forum',
'forum_description' => '',
'mail_driver' => 'log',
'mail_from' => 'noreply@flarum.dev',
'theme_colored_header' => '0',
'theme_dark_mode' => '0',
'theme_primary_color' => '#4D698E',
'theme_secondary_color' => '#4D698E',
'welcome_message' => 'This is beta software and you should not use it in production.',
'welcome_title' => 'Welcome to Development Forum',
];
}