Installation default data: Use more sensible defaults

Using .dev as a TLD for local development is discouraged, as at
least Chrome now enforces HTTPS for these domains.

As far as I know, by default, the MySQL root user does not have
a password on many platforms. I use it this way on my local
machine, and this makes it convenient to setup a local copy.
This commit is contained in:
Franz Liedke 2018-01-02 21:22:17 +01:00
parent 936f67e953
commit b760d113d2
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -18,12 +18,12 @@ class DefaultsDataProvider implements DataProviderInterface
'host' => 'localhost',
'database' => 'flarum',
'username' => 'root',
'password' => 'root',
'password' => '',
'prefix' => '',
'port' => '3306',
];
protected $baseUrl = 'http://flarum.dev';
protected $baseUrl = 'http://flarum.local';
protected $adminUser = [
'username' => 'admin',