Unlink only images in cache

This commit is contained in:
nicolaasuni 2020-02-12 13:26:24 +00:00
parent 84d41c66fd
commit 510070b5e0

View File

@ -7787,7 +7787,9 @@ class TCPDF {
}
if (isset($this->imagekeys)) {
foreach($this->imagekeys as $file) {
unlink($file);
if (strpos($file, K_PATH_CACHE) === 0) {
@unlink($file);
}
}
}
}