1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opensondage_ynh.git synced 2024-09-03 19:46:28 +02:00

Fix restoration

This commit is contained in:
Jean-Baptiste Holcroft 2017-10-26 11:47:55 +02:00
parent f520c9894b
commit 419c5ab0fc

View file

@ -80,7 +80,7 @@ ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini"
# RESTORE THE MYSQL DATABASE
#=================================================
dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
db_pwd=$(ynh_app_setting_get "$app" mysqlpwd)
ynh_mysql_setup_db "$db_name" "$db_name" "$db_pwd"
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < ./db.sql