diff --git a/scripts/install b/scripts/install index 9fa1699..fa15a98 100644 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,7 @@ admin=$YNH_APP_ARG_ADMIN admin_email=$(ynh_user_get_info $admin 'mail') is_public=$YNH_APP_ARG_IS_PUBLIC password=$YNH_APP_ARG_PASSWORD -phpversion=$YNH_APP_ARG_PHPVERSION + app=$YNH_APP_INSTANCE_NAME @@ -49,7 +49,7 @@ ynh_script_progression --message="Storing installation settings..." ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=admin --value=$admin -ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion +# ynh_app_setting_set --app=$app --key=phpversion --value=$YNH_PHP_VERSION #================================================= # STANDARD MODIFICATIONS @@ -106,7 +106,7 @@ ynh_add_nginx_config ynh_script_progression --message="Configuring PHP-FPM..." # Create a dedicated PHP-FPM config -ynh_add_fpm_config --phpversion=$phpversion +ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION #================================================= # SPECIFIC SETUP