From f20227e297bf9803abf37f6e1dfde6d225cfe88c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 8 Feb 2022 15:13:17 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e76b8fa..9ab1a4b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -122,7 +122,9 @@ ynh_add_fpm_config #================================================= ynh_script_progression --message="Upgrading database..." --weight=1 -php$phpversion $final_path/install/upgrade/upgrade.php +pushd $final_path + php$phpversion ./install/upgrade/upgrade.php +popd #================================================= # RELOAD NGINX