splittingred / phpThumbOf

A secure phpthumb output filter for MODx Revolution
http://rtfm.modx.com/display/addon/phpthumbof/
23 stars 17 forks source link

Fix bug on clearing cache. #50

Open eprochasson opened 11 years ago

eprochasson commented 11 years ago

If phpthumbof is installed but never used, the cache folder is not created (so it seems), therefore the event OnSiteRefresh fails as phpthumbof attempts to parse that folder.

That quick fix should prevent that.

Thanks,

Emmanuel

jpdevries commented 11 years ago

Thanks got this merged at thew new repo at modxcms/phpThumbOf https://github.com/modxcms/phpThumbOf/commit/15f0c0b5c3907298ed31422cb411295ec1d5a4f8