1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ulogger_ynh.git synced 2024-10-01 13:34:45 +02:00

Fix install for skip_urls after curl

This commit is contained in:
anmol 2019-04-12 23:51:58 +05:30
parent e8b8c8584e
commit c73b4cebc6

View file

@ -180,6 +180,13 @@ systemctl reload nginx
ynh_print_info "Finalizing installation..."
ynh_local_curl "/scripts/setup.php" "command=setup"
# Remove the public access
if [ $is_public -eq 0 ]
then
ynh_app_setting_delete $app skipped_uris
fi
#Add the admin account to the database
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < "../conf/admin.sql"
#Disable setup for security