mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
cleaning
This commit is contained in:
parent
7c2a9f20df
commit
a36e424502
4 changed files with 5 additions and 5 deletions
|
@ -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)
|
* Défaut : null (= fonctionnalité désactivée)
|
||||||
*/
|
*/
|
||||||
//const PDFTOTEXT_COMMAND = 'pdftotext';
|
const PDFTOTEXT_COMMAND = 'mupdf';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* API_USER et API_PASSWORD
|
* API_USER et API_PASSWORD
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; Additional php.ini defines, specific to this pool of workers.
|
; Additional php.ini defines, specific to this pool of workers.
|
||||||
|
|
||||||
php_admin_value[upload_max_filesize] = 2M
|
php_admin_value[upload_max_filesize] = 50M
|
||||||
php_admin_value[post_max_size] = 2M
|
php_admin_value[post_max_size] = 50M
|
||||||
|
|
|
@ -7,7 +7,7 @@ location __PATH__/ {
|
||||||
index index.php /_route.php;
|
index index.php /_route.php;
|
||||||
|
|
||||||
# Increase size limit
|
# Increase size limit
|
||||||
client_max_body_size 2M;
|
client_max_body_size 50M;
|
||||||
|
|
||||||
try_files $uri $uri/ __PATH__/__PATH__/_route.php?$query_string;
|
try_files $uri $uri/ __PATH__/__PATH__/_route.php?$query_string;
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
|
|
@ -58,4 +58,4 @@ ram.runtime = "50M"
|
||||||
api.protected = true
|
api.protected = true
|
||||||
|
|
||||||
[resources.apt]
|
[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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue