mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +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->port = intval(getenv('DB_PORT') ?: 3306);
|
||||||
$this->name = getenv('DB_DATABASE') ?: 'flarum_test';
|
$this->name = getenv('DB_DATABASE') ?: 'flarum_test';
|
||||||
$this->user = getenv('DB_USERNAME') ?: 'root';
|
$this->user = getenv('DB_USERNAME') ?: 'root';
|
||||||
$this->pass = getenv('DB_PASSWORD') ?: 'root';
|
$this->pass = getenv('DB_PASSWORD') ?? 'root';
|
||||||
$this->pref = getenv('DB_PREFIX') ?: '';
|
$this->pref = getenv('DB_PREFIX') ?: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user