mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Fix administrator's mail
This commit is contained in:
parent
10520c164c
commit
922ef648cc
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ ynh_app_setting_set $app admin_pwd "$adm_pwd"
|
|||
|
||||
# Configure piwigo via curl
|
||||
sleep 5s
|
||||
ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbuser=$db_user" "dbpasswd=$db_pwd" "dbname=$db_name" "admin_name=$admin" "admin_pass1=$adm_pwd" "admin_pass2=$adm_pwd" "admin_mail=$admin@$domain"
|
||||
mail="$(ynh_user_get_info $admin mail)"
|
||||
ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbuser=$db_user" "dbpasswd=$db_pwd" "dbname=$db_name" "admin_name=$admin" "admin_pass1=$adm_pwd" "admin_pass2=$adm_pwd" "admin_mail=$mail"
|
||||
|
||||
# Change local config
|
||||
sudo cp ../conf/config.inc.php $final_path/local/config/
|
||||
|
|
Loading…
Reference in a new issue