mirror of
https://github.com/flarum/core.git
synced 2025-06-25 20:24:56 +02:00
allow empty db password "" again
This commit is contained in:
@ -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') ?: '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user