From acaee33b9ddce5c4227e743041e978e40e614ccc Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 8 Nov 2022 17:07:05 +0100 Subject: [PATCH] Introduzione tempDir per mpdf --- composer.json | 2 +- src/Prints.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d686ff4fb..0202d6ed4 100755 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "league/oauth2-google": "^3.0", "maximebf/debugbar": "^1.15", "monolog/monolog": "^1.22", - "mpdf/mpdf": "^v8.0.7", + "mpdf/mpdf": "^v8.0.10", "mpociot/vat-calculator": "^2.3", "owasp/csrf-protector-php": "^1.0", "phpmailer/phpmailer": "^6.0", diff --git a/src/Prints.php b/src/Prints.php index fe51ad340..a0db7bd8a 100755 --- a/src/Prints.php +++ b/src/Prints.php @@ -523,6 +523,8 @@ class Prints 'default_font' => 'dejavusanscondensed', + 'tempDir' => base_dir() . '/files/temp', + // Abilitazione per lo standard PDF/A //'PDFA' => true, //'PDFAauto' => true,