1
0
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:
Jb Lm 2022-03-31 16:05:19 +02:00
parent 69781d8e73
commit c1c86fb881

View File

@ -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) {