mirror of
https://github.com/YunoHost-Apps/signaturepdf_ynh.git
synced 2024-09-03 20:25:57 +02:00
fix
This commit is contained in:
parent
aad6623739
commit
e0906997fe
2 changed files with 5 additions and 2 deletions
|
@ -3,3 +3,7 @@
|
||||||
# Path to which stored pdf to activate the mode of sharing a signature to several.
|
# 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
|
# To deactivate this mode, simply do not configure it or leave it empty
|
||||||
PDF_STORAGE_PATH=__DATADIR__
|
PDF_STORAGE_PATH=__DATADIR__
|
||||||
|
SERVERNAME=__DOMAIN__
|
||||||
|
UPLOAD_MAX_FILESIZE=48M
|
||||||
|
POST_MAX_SIZE= 48M
|
||||||
|
MAX_FILE_UPLOADS=401
|
||||||
|
|
|
@ -27,6 +27,7 @@ ynh_abort_if_errors
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
|
phpversion=$YNH_PHP_VERSION
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
@ -125,8 +126,6 @@ ynh_script_progression --message="Configuring permissions..." --weight=1
|
||||||
# Make app public if necessary
|
# Make app public if necessary
|
||||||
if [ $is_public -eq 1 ]
|
if [ $is_public -eq 1 ]
|
||||||
then
|
then
|
||||||
# Everyone can access the app.
|
|
||||||
# The "main" permission is automatically created before the install script.
|
|
||||||
ynh_permission_update --permission="main" --add="visitors"
|
ynh_permission_update --permission="main" --add="visitors"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue