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:
parent
be2d9a794c
commit
6f8c2fb4ed
2
app.php
2
app.php
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user