AOEpeople / Aoe_ClassPathCache

Class path cache for Magento autoloader
http://www.fabrizio-branca.de/magento-class-path-cache.html
Open Software License 3.0
49 stars 16 forks source link

Avoid warnings from file_exists with non-existant classes. Do not cache ... #17

Closed colinmollenhour closed 10 years ago

colinmollenhour commented 10 years ago

...not-found class names.

I had a case pop up in production where somehow (probably a CMS block) a class that doesn't exist was attempted to get loaded at one point. This generates warning whenever the cache is revalidated so this patch resolves it by suppressing file_exists warnings and also not caching entries that are not found (so they don't keep getting revalidated indefinitely).

LeeSaferite commented 10 years ago

This seems to be already merged.