mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Update install
This commit is contained in:
parent
e6604477d5
commit
37911b0372
1 changed files with 2 additions and 4 deletions
|
@ -126,11 +126,9 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring WordPress..."
|
ynh_script_progression --message="Configuring WordPress..."
|
||||||
|
|
||||||
cp ../conf/wp-config.php $final_path/wp-config.php
|
|
||||||
# Change variables in Wordpress configuration
|
# Change variables in Wordpress configuration
|
||||||
ynh_replace_string --match_string="__DB_NAME__" --replace_string=$db_name --target_file=$final_path/wp-config.php
|
file=__FILE__
|
||||||
ynh_replace_string --match_string="__DB_USER__" --replace_string=$db_user --target_file=$final_path/wp-config.php
|
ynh_add_config --template="../conf/wp-config.php" --destination="$final_path/wp-config.php"
|
||||||
ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file=$final_path/wp-config.php
|
|
||||||
|
|
||||||
for i in 1 2 3 4 5 6 7 8
|
for i in 1 2 3 4 5 6 7 8
|
||||||
do
|
do
|
||||||
|
|
Loading…
Add table
Reference in a new issue