No panic here, just a bit of background information.
An irritating bug found:
Thumbnail creation using oscThumb is supposed to be able to be configured easily through a series of inline directives, the cache directory being one of them. In the application used here, a cached file isn't actually needed.
PHP Code:
$phpThumb->setParameter('config_cache_directory', null );
I've tried directing to a specific cache directory as well as turning caching off - to no avail.
Workaround:
Quite simple and something which is advisable/recommended in any case. The admin directory should have read only permissions. That sorts it out.
Of course in a live environment this should be done anyway - it was only on a development site that I discovered the bug.
May be relevant for people wishing to use oscThumb elsewhere in the system.
EJ
Bookmarks