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