Gregwar/ImageBundle

Cache dir

chandon opened this issue · 1 comments

When using the bundle in a controller (with the default configuration in config.yml), the cache dir is located in ./web/cache
But when using it from a Symfony Command, the cache dir is created in ./cache

I've try to change cache_dir in config.yml without success. It seems that the bundle is also using web_dir.
I've tried things like :

gregwar_image:
    cache_dir: /tmp
    web_dir: /tmp

but it's not working from a Symfony Command. How to change the cache dir ?

My fault, i was not using the Bundle but directly the Image php class.