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:11:35 +02:00
parent 1951f816c6
commit 880bde60c1

View file

@ -9,6 +9,8 @@ is_public=$(sudo yunohost app setting wordpress is_public)
root_pwd=$(sudo cat /etc/yunohost/mysql)
final_path=/var/www/wordpress
db_name=wordpress
if [[ "$admin_wordpress" = "" ]];
@ -20,7 +22,7 @@ fi
if [[ "$language" = "" ]];
then
language=$(sudo grep WPLANG /var/www/wordpress/wp-config.php | cut -d"'" -f4)
language=$(sudo grep WPLANG $final_path/wp-config.php | cut -d"'" -f4)
fi
if [[ "$is_public" = "" ]];