1
0
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:
Kevin Woblick 2025-02-26 09:06:00 +01:00
parent cb8585bf33
commit 94856397b2

View File

@ -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) {