mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Fix
This commit is contained in:
parent
3cb343396d
commit
211b330a6e
2 changed files with 4 additions and 4 deletions
|
@ -419,12 +419,12 @@ chdir = __FINALPATH__
|
||||||
;php_admin_value[memory_limit] = 32M
|
;php_admin_value[memory_limit] = 32M
|
||||||
|
|
||||||
; Common values to change to increase file upload limit
|
; Common values to change to increase file upload limit
|
||||||
; php_admin_value[upload_max_filesize] = 50M
|
php_admin_value[upload_max_filesize] = 200M
|
||||||
; php_admin_value[post_max_size] = 50M
|
php_admin_value[post_max_size] = 200M
|
||||||
; php_admin_flag[mail.add_x_header] = Off
|
; php_admin_flag[mail.add_x_header] = Off
|
||||||
|
|
||||||
; Other common parameters
|
; Other common parameters
|
||||||
; php_admin_value[max_execution_time] = 600
|
php_admin_value[max_execution_time] = 200
|
||||||
; php_admin_value[max_input_time] = 300
|
; php_admin_value[max_input_time] = 300
|
||||||
; php_admin_value[memory_limit] = 256M
|
; php_admin_value[memory_limit] = 256M
|
||||||
; php_admin_flag[short_open_tag] = On
|
; php_admin_flag[short_open_tag] = On
|
||||||
|
|
|
@ -142,7 +142,7 @@ mkdir -p /home/yunohost.${app}/uploads/{big,medium,small,thumb,import}
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
chown -R www-data:www-data $final_path
|
||||||
chown -R $app: /home/yunohost.${app}
|
chown -R $app: /home/yunohost.${app}
|
||||||
chmod -R 755 /home/yunohost.${app}/uploads
|
chmod -R 755 /home/yunohost.${app}/uploads
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue