diff --git a/scripts/_common.sh b/scripts/_common.sh index 3c9a7e4..5192a3d 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -207,19 +207,6 @@ ynh_system_reload () { #================================================= -# Delete a file checksum from the app settings -# -# $app should be defined when calling this helper -# -# usage: ynh_remove_file_checksum file -# | arg: file - The file for which the checksum will be deleted -ynh_delete_file_checksum () { - local checksum_setting_name=checksum_${1//[\/ ]/_} # Replace all '/' and ' ' by '_' - ynh_app_setting_delete $app $checksum_setting_name -} - -#================================================= - ynh_maintenance_mode_ON () { # Load value of $path_url and $domain from the config if their not set if [ -z $path_url ]; then diff --git a/scripts/backup b/scripts/backup index dba7b73..9cc603e 100644 --- a/scripts/backup +++ b/scripts/backup @@ -44,8 +44,8 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" # BACKUP OF THE PHP-FPM CONFIGURATION #================================================= -ynh_backup "/etc/php5/fpm/pool.d/$app.conf" -ynh_backup "/etc/php5/fpm/conf.d/20-$app.ini" +ynh_backup "/etc/php$phpversion/fpm/pool.d/$app.conf" +ynh_backup "/etc/php$phpversion/fpm/conf.d/20-$app.ini" #================================================= # BACKUP OF THE SQL BDD