1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00

Correct php version

This commit is contained in:
Limezy 2023-01-26 01:07:17 +07:00
parent b35450d2dc
commit c56f558fac
2 changed files with 2 additions and 2 deletions

View file

@ -102,8 +102,8 @@ popd
ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage="low" --footprint="low"
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
ynh_add_fpm_config --usage="low" --footprint="low"
#=================================================
# NGINX CONFIGURATION

View file

@ -108,8 +108,8 @@ ynh_install_app_dependencies $pkg_dependencies
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --phpversion=$phpversion --usage="low" --footprint="low"
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
ynh_add_fpm_config --phpversion=$phpversion --usage="low" --footprint="low"
#=================================================
# NGINX CONFIGURATION