Browse Source

Update upgrade

ericgaspar 3 years ago
parent
commit
f20227e297
1 changed files with 3 additions and 1 deletions
  1. 3 1
      scripts/upgrade

+ 3 - 1
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