mirror of
https://github.com/24eme/signaturepdf
synced 2024-06-06 16:02:51 +02:00
bug correction
This commit is contained in:
parent
f884eb73ae
commit
f82ec19809
4
app.php
4
app.php
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue