1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

remove php-fpm.ini and set type=string for language

This commit is contained in:
Jean-Baptiste Holcroft 2019-02-17 22:20:38 +01:00
parent 1705ccb961
commit cd8bd09c0e
5 changed files with 6 additions and 7 deletions

View file

@ -390,3 +390,6 @@ catch_workers_output = yes
;php_admin_value[error_log] = /var/log/fpm-php.www.log ;php_admin_value[error_log] = /var/log/fpm-php.www.log
;php_admin_flag[log_errors] = on ;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M ;php_admin_value[memory_limit] = 32M
;php_admin_value[upload_max_filesize] =30M
;php_admin_value[post_max_size] =30M

View file

@ -1,3 +0,0 @@
upload_max_filesize=30M
post_max_size=30M
; max_execution_time=60

View file

@ -6,7 +6,7 @@
"en": "Grav - Grav is a modern open source flat-file CMS", "en": "Grav - Grav is a modern open source flat-file CMS",
"fr": "Grav - Grav is a modern open source flat-file CMS" "fr": "Grav - Grav is a modern open source flat-file CMS"
}, },
"version": "1.5.3~ynh3", "version": "1.5.3~ynh4",
"url": "https://www.getgrav.org/", "url": "https://www.getgrav.org/",
"license": "MIT-0", "license": "MIT-0",
"maintainer": [ "maintainer": [
@ -75,6 +75,7 @@
}, },
{ {
"name": "language", "name": "language",
"type": "string",
"ask": { "ask": {
"en": "Choose the application language", "en": "Choose the application language",
"fr": "Choisissez la langue de l'application" "fr": "Choisissez la langue de l'application"

View file

@ -45,4 +45,3 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================
ynh_backup "/etc/php/7.0/fpm/pool.d/$app.conf" ynh_backup "/etc/php/7.0/fpm/pool.d/$app.conf"
ynh_backup "/etc/php/7.0/fpm/conf.d/20-$app.ini"

View file

@ -73,7 +73,6 @@ chown -R "$app": "$final_path"
#================================================= #=================================================
ynh_restore_file "/etc/php/7.0/fpm/pool.d/$app.conf" ynh_restore_file "/etc/php/7.0/fpm/pool.d/$app.conf"
ynh_restore_file "/etc/php/7.0/fpm/conf.d/20-$app.ini"
#================================================= #=================================================