Browse Source

If phpversion doesn't exist, create it

pull/366/head
Kay0u 5 years ago
parent
commit
504c04be57
No known key found for this signature in database GPG Key ID: AAFEEB16CFA2AE2D
  1. 5
      scripts/upgrade

5
scripts/upgrade

@ -65,6 +65,11 @@ if [ -z "$fpm_usage" ]; then
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
fi
# If phpversion doesn't exist, create it
if [ -z "$phpversion" ]; then
phpversion="$YNH_PHP_VERSION"
fi
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================

Loading…
Cancel
Save