1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

Electronick signature disable in share mode

This commit is contained in:
Vincent LAURENT 2024-08-01 17:38:42 +02:00
commit 637c396bc8

View file

@ -124,7 +124,7 @@ class PDFSignature
foreach($layers as $layerFile) {
$signedFile = str_replace('.svg.pdf', '.sign.pdf', $layerFile);
if(!file_exists($signedFile)) {
self::addSvgToPDF($currentSignedFile, $layerFile, $signedFile);
self::addSvgToPDF($currentSignedFile, $layerFile, $signedFile, false);
if ($this->pathHash != $pathHashDecrypted && $this->isEncrypted()) {
copy($signedFile, str_replace($pathHashDecrypted ,$this->pathHash, $signedFile));
}