cleaning
This commit is contained in:
parent
bacb601c9f
commit
f51a66b246
3 changed files with 7 additions and 5 deletions
|
@ -1,4 +0,0 @@
|
||||||
; Additional php.ini defines, specific to this pool of workers.
|
|
||||||
|
|
||||||
php_admin_value[upload_max_filesize] = 50M
|
|
||||||
php_admin_value[post_max_size] = 50M
|
|
|
@ -35,6 +35,9 @@ source /usr/share/yunohost/helpers
|
||||||
foo="bar"
|
foo="bar"
|
||||||
ynh_app_setting_set --key=foo --value=$foo
|
ynh_app_setting_set --key=foo --value=$foo
|
||||||
|
|
||||||
|
ynh_app_setting_set --key=php_upload_max_filesize --value=50M
|
||||||
|
ynh_app_setting_set --key=php_post_max_size --value=50M
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -30,7 +30,10 @@ ynh_systemctl --service="$app" --action="stop"
|
||||||
#=================================================
|
#=================================================
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
#=================================================
|
#=================================================
|
||||||
#ynh_script_progression "Ensuring downward compatibility..."
|
ynh_script_progression "Ensuring downward compatibility..."
|
||||||
|
|
||||||
|
ynh_app_setting_set_default --key=php_upload_max_filesize --value=50M
|
||||||
|
ynh_app_setting_set_default --key=php_post_max_size --value=50M
|
||||||
|
|
||||||
### N.B. : the following setting migration snippets are provided as *EXAMPLES*
|
### N.B. : the following setting migration snippets are provided as *EXAMPLES*
|
||||||
### of what you may want to do in some cases (e.g. a setting was not defined on
|
### of what you may want to do in some cases (e.g. a setting was not defined on
|
||||||
|
|
Loading…
Add table
Reference in a new issue