novakpeter
Member
Posted 4 months ago #
Is this plugin made to preserve settings from previous version of timthumb? I updated and the part
$ALLOWED_SITES = array (
...
was rewritten by defaults, so all my pictures were not visible on my site, because some external sites were suddenly not visible...
http://wordpress.org/extend/plugins/timthumb-vulnerability-scanner/
Unfortunately, at this point, the plugin isn't smart enough to maintain settings, only to update the file to the latest version, so you'll have to reset these defaults yourself.
Maintaining them shouldnt be impossible, however - I'll look into the feasibility of not overwriting them.
I almost forgot - For the last few versions (I dont know since when off the top of my head), timthumb has allowed for a config file, named timthumb-config.php, and stored in the same directory as your timthumb instance, to override default timthumb settings.
By using this, you can maintain any settings you'd like, without having to worry about updates overwriting them.
Unfortunately, I can't really find any documentation or examples right now - but here are 2 things to get you started:
http://code.google.com/p/timthumb/issues/detail?id=318
http://timthumb.googlecode.com/svn/trunk/timthumb.php (start reading at "--- TimThumb CONFIGURATION ---"
Hope that helps!
novakpeter
Member
Posted 4 months ago #