1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/question2answer_ynh.git synced 2024-09-03 20:16:07 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-03-29 19:17:52 +02:00 committed by Félix Piédallu
parent 5d4a5c67b0
commit bd1d32ce16

View file

@ -106,7 +106,7 @@ ynh_local_curl_csrf "/index.php?qa=admin&qa_1=general"\
ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="../conf/ldap.sql"
ynh_replace_string --match_string="__EMAIL__" --replace_string="$email" --target_file="../conf/ldap.sql"
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" < ../conf/ldap.sql
ynh_mysql_connect_as --database="$db_name" --user="$db_user" --password="$db_pwd" < ../conf/ldap.sql
#=================================================
# SECURE FILES AND DIRECTORIES