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

bug correction

This commit is contained in:
Jb Lm 2022-04-01 10:36:29 +02:00
parent f884eb73ae
commit f82ec19809

View File

@ -211,7 +211,7 @@ $f3->route('POST /share',
shell_exec(sprintf("rsvg-convert -f pdf -o %s %s", $tmpfile.'.svg.pdf', $svgFiles));
if(!$f3->get('DEBUG')) {
array_map('unlink', $svgFiles);
array_map('unlink', explode(' ', trim($svgFiles)));
}
$f3->reroute('/signature/'.$hash."#informations");
@ -309,7 +309,7 @@ $f3->route('POST /signature/@hash/save',
shell_exec(sprintf("rsvg-convert -f pdf -o %s %s", $tmpfile.'.svg.pdf', $svgFiles));
if(!$f3->get('DEBUG')) {
array_map('unlink', $svgFiles);
array_map('unlink', explode(' ', trim($svgFiles)));
}
$f3->reroute('/signature/'.$f3->get('PARAMS.hash')."#signed");