Skip to content

Commit

Permalink
libphpmyadmin.sh: fix wrong variables ALLOWDENY_
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Dang Trung Tien <trungtien238lnd@gmail.com>
  • Loading branch information
tien238lnd committed Jun 26, 2024
1 parent 29a5a1e commit dc0eb81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ phpmyadmin_initialize() {
fi

# Configure allow deny order/rules settings
! is_empty_value "$CONFIGURATION_ALLOWDENY_ORDER" && phpmyadmin_conf_set "\$cfg['Servers'][\$i]['AllowDeny']['order']" "$ALLOWDENY_ORDER"
! is_empty_value "$CONFIGURATION_ALLOWDENY_RULES" && phpmyadmin_conf_set "\$cfg['Servers'][\$i]['AllowDeny']['rules']" "array($ALLOWDENY_RULES)" yes
! is_empty_value "$CONFIGURATION_ALLOWDENY_ORDER" && phpmyadmin_conf_set "\$cfg['Servers'][\$i]['AllowDeny']['order']" "$CONFIGURATION_ALLOWDENY_ORDER"
! is_empty_value "$CONFIGURATION_ALLOWDENY_RULES" && phpmyadmin_conf_set "\$cfg['Servers'][\$i]['AllowDeny']['rules']" "array($CONFIGURATION_ALLOWDENY_RULES)" yes

# Configure automatic login with account
if ! is_empty_value "$DATABASE_USER"; then
Expand Down

0 comments on commit dc0eb81

Please sign in to comment.