omh/ezpublish-1 — comment on commit a6bf5c3ff097a73453f048cf9a0e4cdb7685232c
File: index_image_dfsmysql.php line 35
By gggeek:

Ok, let's see if we can find corner cases:
1. a /cache/something/storage/somethingelse directory would be flagged as not cache
2. what about sending to the db layer the path "var/cache"

point 1 is not as bad as the opposite error (putting in cache something that is storage), plus it's not one of the eZ dirs, and I hope no developer of extensions is insane enough to create a new cache directory and call it "storage"

point 2: anyone can confirm / disprove we do that?