1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wallabag2_ynh.git synced 2024-10-01 13:35:06 +02:00

Merge branch 'testing' into app_config_actions

This commit is contained in:
lapineige 2019-02-20 08:36:28 +00:00 committed by GitHub
commit 4d4f1e862b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View file

@ -8,6 +8,7 @@ location __PATH__/ {
client_body_timeout 60m; client_body_timeout 60m;
proxy_read_timeout 60m; proxy_read_timeout 60m;
fastcgi_read_timeout 60m; fastcgi_read_timeout 60m;
client_max_body_size 50M;
try_files $uri @__NAME__; try_files $uri @__NAME__;

View file

@ -390,3 +390,7 @@ 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[max_execution_time] = 3600
php_admin_value[upload_max_filesize] = 50M
php_admin_value[post_max_size] = 50M

View file

@ -1 +0,0 @@
max_execution_time=3600

View file

@ -122,9 +122,12 @@ download_images_enabled=$(ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_user"
if [ "$download_images_enabled" = "1" ] ; then if [ "$download_images_enabled" = "1" ] ; then
echo "Updating images URL; this operation may take a while..." echo "Updating images URL; this operation may take a while..."
# Query/replace the domain/path in every entry.content in mysql database # Query/replace the domain/path in every entry.content in mysql database
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_user" <<< "UPDATE entry SET content = REPLACE(content, '$old_domain$old_path', '$new_domain$new_path');" ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_user" <<< "UPDATE entry SET content = REPLACE(content, '$old_domain$old_path', '$new_domain$new_path');"
fi fi
# Clear assets cache
ynh_secure_remove $final_path/var/cache
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================