Remove temporary PDF file after generation
This commit is contained in:
parent
9ed63828db
commit
4008643e5b
|
@ -72,6 +72,8 @@ class PdfCompressor extends Compressor
|
|||
$versionFilename = $destination.'/'.$this->versionFilename($source, $destWidth, $destHeight);
|
||||
|
||||
Storage::put($versionFilename, file_get_contents($temp));
|
||||
|
||||
unlink($temp);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue