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:
commit
0d727e86f5
2 changed files with 35 additions and 24 deletions
3
app.php
3
app.php
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue