1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/signaturepdf_ynh.git synced 2024-09-03 20:25:57 +02:00
This commit is contained in:
ericgaspar 2022-04-14 21:21:30 +02:00
parent aad6623739
commit e0906997fe
2 changed files with 5 additions and 2 deletions

View file

@ -3,3 +3,7 @@
# Path to which stored pdf to activate the mode of sharing a signature to several.
# To deactivate this mode, simply do not configure it or leave it empty
PDF_STORAGE_PATH=__DATADIR__
SERVERNAME=__DOMAIN__
UPLOAD_MAX_FILESIZE=48M
POST_MAX_SIZE= 48M
MAX_FILE_UPLOADS=401

View file

@ -27,6 +27,7 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
phpversion=$YNH_PHP_VERSION
app=$YNH_APP_INSTANCE_NAME
@ -125,8 +126,6 @@ ynh_script_progression --message="Configuring permissions..." --weight=1
# Make app public if necessary
if [ $is_public -eq 1 ]
then
# Everyone can access the app.
# The "main" permission is automatically created before the install script.
ynh_permission_update --permission="main" --add="visitors"
fi