1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zwiicms_ynh.git synced 2024-09-03 18:06:04 +02:00

Update from example_ynh

This commit is contained in:
pp-r 2021-02-14 14:21:06 +01:00 committed by GitHub
parent 63ac3ac878
commit 1ae8e5ddae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,10 +158,10 @@ ynh_add_nginx_config
#=================================================
# CREATE DEDICATED USER
#=================================================
#ynh_script_progression --message="Configuring system user..." --time --weight=1
ynh_script_progression --message="Configuring system user..." --time --weight=1
# Create a system user
#ynh_system_user_create --username=$app
ynh_system_user_create --username=$app
#=================================================
# PHP-FPM CONFIGURATION
@ -356,7 +356,7 @@ then
fi
# Only the admin can access the admin panel of the app (if the app has an admin panel)
#ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
# Everyone can access to the api part
# We don't want to display the tile in the sso so we put --show_tile="false"