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:
parent
1705ccb961
commit
cd8bd09c0e
5 changed files with 6 additions and 7 deletions
|
@ -389,4 +389,7 @@ catch_workers_output = yes
|
|||
;php_flag[display_errors] = off
|
||||
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
||||
;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
|
|
@ -1,3 +0,0 @@
|
|||
upload_max_filesize=30M
|
||||
post_max_size=30M
|
||||
; max_execution_time=60
|
|
@ -6,7 +6,7 @@
|
|||
"en": "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/",
|
||||
"license": "MIT-0",
|
||||
"maintainer": [
|
||||
|
@ -75,6 +75,7 @@
|
|||
},
|
||||
{
|
||||
"name": "language",
|
||||
"type": "string",
|
||||
"ask": {
|
||||
"en": "Choose the application language",
|
||||
"fr": "Choisissez la langue de l'application"
|
||||
|
|
|
@ -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/conf.d/20-$app.ini"
|
||||
|
|
|
@ -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/conf.d/20-$app.ini"
|
||||
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue