zonminder: Fix database name and username

PR #56889 messed up db and use naming while fixing the scope of the initialDatabases property.
This patch fixes the issue.
This commit is contained in:
scaroo 2019-03-09 17:11:15 +01:00
parent bbfd2be8ed
commit 56aa491ad7

@ -49,8 +49,8 @@ let
# Database
ZM_DB_TYPE=mysql
ZM_DB_HOST=${cfg.database.host}
ZM_DB_NAME=${if cfg.database.createLocally then user else cfg.database.username}
ZM_DB_USER=${cfg.database.username}
ZM_DB_NAME=${cfg.database.name}
ZM_DB_USER=${if cfg.database.createLocally then user else cfg.database.username}
ZM_DB_PASS=${cfg.database.password}
# Web