mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-04-21 07:22:20 +02:00
Always surround db password with quotes during setup (#927)
This commit is contained in:
parent
cb8585bf33
commit
94856397b2
@ -111,7 +111,7 @@ class DatabaseController extends Controller
|
||||
'DB_PORT=' . ($this->dbConfig['port'] ?? ''),
|
||||
'DB_DATABASE=' . ($this->dbConfig['database'] ?? ''),
|
||||
'DB_USERNAME=' . ($this->dbConfig['username'] ?? ''),
|
||||
'DB_PASSWORD=' . ($this->dbConfig['password'] ?? ''),
|
||||
'DB_PASSWORD="' . ($this->dbConfig['password'] ?? '') . '"',
|
||||
], $envContent);
|
||||
|
||||
if ($envContent !== null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user