diff --git a/Apache-Installer.sh b/Apache-Installer.sh index bd1d59f..3987c40 100644 --- a/Apache-Installer.sh +++ b/Apache-Installer.sh @@ -150,7 +150,7 @@ systemctl restart apache2 # WP - INSTALL # #-------------------# -if [$wordpress = 1] +if [ $wordpress = 1 ] then db_name="wp_1" db_user="wp_1" @@ -164,7 +164,7 @@ if [$wordpress = 1] cp -a /tmp/wordpress/. /var/www/"$domain"/public_html chown -R www-data:www-data /var/www/"$domain"/public_html WPSalts=$(wget https://api.wordpress.org/secret-key/1.1/salt/ -q -O -) - cat < /var/www/"$domain"/public_html/wp-config.php +cat < /var/www/"$domain"/public_html/wp-config.php