From 346584a1605e8096cf0ef587d111f30a4973c260 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 7 Sep 2018 11:51:13 +0000 Subject: [PATCH] Update 'NGINX-Installer.sh' --- NGINX-Installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NGINX-Installer.sh b/NGINX-Installer.sh index 72b9711..e17618c 100644 --- a/NGINX-Installer.sh +++ b/NGINX-Installer.sh @@ -347,7 +347,7 @@ systemctl restart php7.2-fpm.service # WP - INSTALL # #-------------------# -if [$wordpress = 1] +if [ $wordpress = 1 ] then db_name="wp_1" db_user="wp_1" @@ -361,7 +361,7 @@ if [$wordpress = 1] cp -a /tmp/wordpress/. /var/www/"$domain"/html chown -R www-data:www-data /var/www/"$domain"/html WPSalts=$(wget https://api.wordpress.org/secret-key/1.1/salt/ -q -O -) - cat < /var/www/"$domain"/html/wp-config.php +cat < /var/www/"$domain"/html/wp-config.php