Skip to content

Commit

Permalink
✏️ Fix env var used in settings
Browse files Browse the repository at this point in the history
Signed-off-by: mathieu.brunot <[email protected]>
  • Loading branch information
madmath03 authored and mriedmann committed Aug 23, 2020
1 parent 74e3887 commit b903022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ else

if [ "$HUMHUB_LDAP_ENABLED" != "0" ]; then
echo "Setting LDAP configuration..."
php yii 'settings/set' 'ldap' 'enabled' "$HUMHUB_LDAP_ENABLED"
php yii 'settings/set' 'ldap' 'enabled' "${HUMHUB_LDAP_ENABLED}"
php yii 'settings/set' 'ldap' 'hostname' "${HUMHUB_LDAP_HOSTNAME}"
php yii 'settings/set' 'ldap' 'port' "${HUMHUB_LDAP_PORT}"
php yii 'settings/set' 'ldap' 'encryption' "${HUMHUB_LDAP_ENCRYPTION}"
Expand All @@ -125,7 +125,7 @@ else
php yii 'settings/set' 'base' 'mailer.systemEmailName' "${HUMHUB_MAILER_SYSTEM_EMAIL_NAME}"
if [ "$HUMHUB_MAILER_TRANSPORT_TYPE" != "php" ]; then
echo "Setting Mailer configuration..."
php yii 'settings/set' 'base' 'mailer.transportType' "${HUMHUB_MAILER_SYSTEM_EMAIL_NAME}"
php yii 'settings/set' 'base' 'mailer.transportType' "${HUMHUB_MAILER_TRANSPORT_TYPE}"
php yii 'settings/set' 'base' 'mailer.hostname' "${HUMHUB_MAILER_HOSTNAME}"
php yii 'settings/set' 'base' 'mailer.port' "${HUMHUB_MAILER_PORT}"
php yii 'settings/set' 'base' 'mailer.username' "${HUMHUB_MAILER_USERNAME}"
Expand Down

0 comments on commit b903022

Please sign in to comment.