1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

Merge branch 'master' of github.com:24eme/signaturepdf

This commit is contained in:
tale-fau 2024-08-01 13:01:44 +02:00
commit 0d727e86f5
2 changed files with 35 additions and 24 deletions

View file

@ -288,8 +288,7 @@ $f3->route('GET /signature/@hash/pdf',
$symmetricKey = (isset($_COOKIE[$hash])) ? GPGCryptography::protectSymmetricKey($_COOKIE[$hash]) : null;
$pdfSignature = new PDFSignature($f3->get('PDF_STORAGE_PATH').$hash, $symmetricKey);
$pdf = $pdfSignature->getPDF();
Web::instance()->send($pdf[0], null, 0, TRUE, $pdf[1]);
Web::instance()->send($pdfSignature->getPDF(), null, 0, TRUE, $pdfSignature->getPublicFilename());
if($f3->get('DEBUG')) {
return;