mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Merge pull request #71 from grenagit/testing
Change url script set a good url (with https)
This commit is contained in:
commit
6b6dd3e32f
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ fi
|
|||
# UPDATE THE DATABASE
|
||||
#=================================================
|
||||
|
||||
ynh_mysql_execute_as_root --sql="UPDATE wp_options SET option_value='$new_domain$new_path' WHERE option_name='siteurl'" --database=$app
|
||||
ynh_mysql_execute_as_root --sql="UPDATE wp_options SET option_value='$new_domain$new_path' WHERE option_name='home'" --database=$app
|
||||
ynh_mysql_execute_as_root --sql="UPDATE wp_options SET option_value='https://$new_domain$new_path' WHERE option_name='siteurl'" --database=$app
|
||||
ynh_mysql_execute_as_root --sql="UPDATE wp_options SET option_value='https://$new_domain$new_path' WHERE option_name='home'" --database=$app
|
||||
|
||||
#=================================================
|
||||
# UPDATE THE CRON
|
||||
|
|
Loading…
Add table
Reference in a new issue