From 6e6347584ee93a4fba06259051322468f8fc0c63 Mon Sep 17 00:00:00 2001 From: Eclipse Date: Sat, 30 Sep 2023 20:17:35 +0200 Subject: [PATCH] added --phpversion option to ynh_add_fpm_config --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 1485283..4ab9d1d 100644 --- a/scripts/install +++ b/scripts/install @@ -43,8 +43,8 @@ ynh_script_progression --message="Adding php-fpm configuration …" --weight=1 # find default php version php_executable=$(readlink -f "$(which php)") echo "${php_executable:(-3)}" -ynh_app_setting_set --app=$app --key="phpversion" --value="${php_executable:(-3)}" -ynh_add_fpm_config +#ynh_app_setting_set --app=$app --key="phpversion" --value="${php_executable:(-3)}" +ynh_add_fpm_config --phpversion="${php_executable:(-3)}" ynh_script_progression --message="Adding nginx configuration …" --weight=1