patch note
Brought to you by:
getid3
Hi, a bug happening while php cash during image processing caused the temp dir to inflate dramaticaly.
here is my patch :
in class::method :
phpthumb::CleanUpCacheDirectory()
add :
if (rand(0, 500) < 10) {
exec("find ".escapeshellarg($this->config_temp_directory)." -cmin +5 -maxdepth 1 -type f -delete");
}
ps thanck for your work!
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
the patched file
Last edit: Anonymous 2013-11-26