web2print-service/config/config.php
isUnknown b130f5c9d8
Some checks are pending
Deploy / deploy (push) Waiting to run
Reorganize project structure and migrate CI to Forgejo
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>
2026-03-05 06:54:52 +01:00

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',
],
];