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