1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Merge pull request #41 from YunoHost-Apps/change-url

This commit is contained in:
eric_G 2023-11-13 19:08:41 +01:00 committed by GitHub
commit 7923ccbb3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,10 +25,12 @@ ynh_change_url_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1 ynh_script_progression --message="Updating a configuration file..." --weight=1
domain=$new_domain
path=$new_path
ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php" ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php"
chmod 650 "$install_dir/config.local.php" #chmod 650 "$install_dir/config.local.php"
chown $app:$app "$install_dir/config.local.php" #chown $app:$app "$install_dir/config.local.php"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT