1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update upgrade

This commit is contained in:
abeudin 2014-06-21 21:23:15 +02:00
parent c78de040de
commit e43a82c524

View file

@ -56,6 +56,8 @@ then
if [[ ! $? -eq 0 ]]; if [[ ! $? -eq 0 ]];
then then
echo "define('FORCE_SSL_ADMIN', true);" | sudo tee -a $final_path/wp-config.php echo "define('FORCE_SSL_ADMIN', true);" | sudo tee -a $final_path/wp-config.php
else
sudo sed -i "s@//define('FORCE_SSL_ADMIN@define('FORCE_SSL_ADMIN@g" $final_path/wp-config.php
fi fi
else else
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/wordpress.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/wordpress.conf