From 187dc9b24708e7583e33ee5e8f7604eecfa36e2c Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Wed, 2 Sep 2020 11:24:29 +0000 Subject: [PATCH] Update 'Scripts/toggles/toggle-PhpMyAdmin_NGINX.sh' --- Scripts/toggles/toggle-PhpMyAdmin_NGINX.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/toggles/toggle-PhpMyAdmin_NGINX.sh b/Scripts/toggles/toggle-PhpMyAdmin_NGINX.sh index e7171b9..b100a21 100644 --- a/Scripts/toggles/toggle-PhpMyAdmin_NGINX.sh +++ b/Scripts/toggles/toggle-PhpMyAdmin_NGINX.sh @@ -25,7 +25,7 @@ if [ -n "$1" ]; then elif [[ "$1" = "-e" && "$PhpMA" != 1 ]]; then echo "Enable PhpMyadmin" sed -i '/PhpMA=/c\PhpMA=1' /etc/ICTM/toggle.conf - sed -i '/deny all; #enables\/disables PHPMyadmin/c\ #deny all; #enables\/disables PHPMyadmin' /etc/nginx/sites-available/Backend + sed -i --follow-symlinks '/deny all; #enables\/disables PHPMyadmin/c\ #deny all; #enables\/disables PHPMyadmin' /etc/nginx/sites-available/Backend systemctl reload nginx elif [[ "$1" = "-h" ]]; then usage