Some checks are pending
Deploy / deploy (push) Waiting to run
Move all files from deploy/ to project root, replace .gitlab-ci.yml with .forgejo/workflows/deploy.yml using Gitea Actions format. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
27 lines
668 B
PHP
27 lines
668 B
PHP
<?php
|
|
|
|
return [
|
|
// Clés API autorisées
|
|
'api_keys' => [
|
|
'25377ab6e2153b159d1d5fa22501228810b6aec9d63346bd0614045dc167061c',
|
|
// Ajouter d'autres clés si nécessaire
|
|
],
|
|
|
|
// Chemins
|
|
'tmp_dir' => '/var/www/web2print/tmp',
|
|
'log_file' => '/var/www/web2print/logs/app.log',
|
|
|
|
// Paged.js CLI
|
|
'pagedjs_bin' => '/usr/bin/pagedjs-cli', // Vérifier avec: which pagedjs-cli
|
|
'pagedjs_timeout' => 60, // secondes
|
|
|
|
// Limites
|
|
'max_html_size' => 5 * 1024 * 1024, // 5 MB
|
|
'max_execution_time' => 90,
|
|
|
|
// Options PDF par défaut
|
|
'pdf_defaults' => [
|
|
'format' => 'A4',
|
|
'margin' => '2cm',
|
|
],
|
|
];
|