mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
exclusive pdf file for treatment (for debug mode)
This commit is contained in:
parent
69781d8e73
commit
c1c86fb881
2
app.php
2
app.php
@ -232,7 +232,7 @@ $f3->route('GET /signature/@hash/pdf',
|
||||
$originalFilename = null;
|
||||
$layers = [];
|
||||
foreach($files as $file) {
|
||||
if (strpos($file, 'signe.pdf') !== false) {
|
||||
if (strpos($file, '.pdf') === false || strpos($file, 'signe.pdf') !== false) {
|
||||
continue;
|
||||
}
|
||||
if(strpos($file, 'svg.pdf') !== false) {
|
||||
|
Loading…
Reference in New Issue
Block a user