avalanche123/AvalancheImagineBundle — pull request #146 by EricGrivilers (2013-05-07 13:10:22+00:00)
Title: Check if $cached is not a directory to avoid error on unlink

Since the CachePathResolver is unlinking file, is it possible to check first that the $cached is a file, not a directory, to avoid error on trying to unlink a directory ?

cf https://github.com/avalanche123/AvalancheImagineBundle/issues/134