Explorar el Código

Update upgrade

ericgaspar hace 3 años
padre
commit
f20227e297
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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