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