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

Fix install by user root

This commit is contained in:
Maniack Crudelis 2017-03-29 18:56:07 +02:00 committed by GitHub
parent a65fcafa6e
commit 356843afc6

View file

@ -176,7 +176,7 @@ then
# Active le multisite via wp-cli.
sudo wget -nv https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O $final_path/wp-cli.phar
ALL_QUIET php $final_path/wp-cli.phar core multisite-convert --path=$final_path --base=$path_url/
ALL_QUIET php $final_path/wp-cli.phar core multisite-convert --allow-root --path=$final_path --base=$path_url/
# Active le multisite wordpress
sudo sed -i "s@//--MULTISITE2--define@define@g" $final_path/wp-config.php