mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 02:32:45 +08:00
allow empty db password "" again
This commit is contained in:
parent
8eb5cfd062
commit
23dc0d7182
|
@ -74,7 +74,7 @@ class SetupScript
|
|||
$this->port = intval(getenv('DB_PORT') ?: 3306);
|
||||
$this->name = getenv('DB_DATABASE') ?: 'flarum_test';
|
||||
$this->user = getenv('DB_USERNAME') ?: 'root';
|
||||
$this->pass = getenv('DB_PASSWORD') ?: 'root';
|
||||
$this->pass = getenv('DB_PASSWORD') ?? 'root';
|
||||
$this->pref = getenv('DB_PREFIX') ?: '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user