1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00
This commit is contained in:
ericgaspar 2023-10-29 08:23:47 +01:00
parent 7c2a9f20df
commit a36e424502
4 changed files with 5 additions and 5 deletions

View file

@ -797,7 +797,7 @@ const FILE_STORAGE_QUOTA = 10*1024*1024; // Forcer le quota alloué à 10 Mo, qu
*
* Défaut : null (= fonctionnalité désactivée)
*/
//const PDFTOTEXT_COMMAND = 'pdftotext';
const PDFTOTEXT_COMMAND = 'mupdf';
/**
* API_USER et API_PASSWORD

View file

@ -1,4 +1,4 @@
; Additional php.ini defines, specific to this pool of workers.
php_admin_value[upload_max_filesize] = 2M
php_admin_value[post_max_size] = 2M
php_admin_value[upload_max_filesize] = 50M
php_admin_value[post_max_size] = 50M

View file

@ -7,7 +7,7 @@ location __PATH__/ {
index index.php /_route.php;
# Increase size limit
client_max_body_size 2M;
client_max_body_size 50M;
try_files $uri $uri/ __PATH__/__PATH__/_route.php?$query_string;
location ~ \.php$ {

View file

@ -58,4 +58,4 @@ ram.runtime = "50M"
api.protected = true
[resources.apt]
packages = "sqlite3, php8.2-sqlite3, php8.2-gd, php8.2-intl, php8.2-cli, php8.2-gnupg, php8.2-mbstring"
packages = "wkhtmlopdf, mupdf-tools, sqlite3, php8.2-sqlite3, php8.2-gd, php8.2-intl, php8.2-cli, php8.2-gnupg, php8.2-mbstring, php8.2-zip"