Ver Fonte

Update upgrade

ericgaspar há 3 anos atrás
pai
commit
f20227e297
1 ficheiros alterados com 3 adições e 1 exclusões
  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