1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +02:00

end of forcing

This commit is contained in:
Jb Lm 2022-03-31 15:00:42 +02:00
parent be2d9a794c
commit 6f8c2fb4ed

View File

@ -245,7 +245,7 @@ $f3->route('GET /signature/@hash/pdf',
if (!$original) { if (!$original) {
$f3->error(404); $f3->error(404);
} }
if (!$layers||1==1) { if (!$layers) {
Web::instance()->send($original, null, 0, TRUE, str_replace('.pdf', '_signe.pdf', $originalFilename)); Web::instance()->send($original, null, 0, TRUE, str_replace('.pdf', '_signe.pdf', $originalFilename));
} }
$newFile = str_replace('.pdf', '_signe.pdf', $original); $newFile = str_replace('.pdf', '_signe.pdf', $original);