there is a minor issue with removeAttachment, viz. ../files/thumbs don't purge.
would be nice to rectify
here's the code I added in removeAttachment.php after line 50
$subDirectory_thumb=pq_str_replace('${attachmentDirectory}', '../files/thumbs', $obj->subDirectory);
traceLog($subDirectory_thumb); traceLog($obj->fileName);
if (file_exists( $subDirectory_thumb )) {
array_map( 'unlink', glob($subDirectory_thumb . pq_str_replace('.', '*.', $obj->fileName) ));
purgeFiles($subDirectory_thumb, null);
rmdir($subDirectory_thumb);
}
regards
Hi,
Thanks for pointing out the issue, and Most of All, thanks for the fixing patch.
We'll include this in next version.