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:
parent
c78de040de
commit
e43a82c524
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue