diff --git a/caches/FileCache.php b/caches/FileCache.php index c8e4982..67078eb 100644 --- a/caches/FileCache.php +++ b/caches/FileCache.php @@ -39,7 +39,7 @@ class FileCache implements CacheInterface { ); foreach($cacheIterator as $cacheFile){ - if(in_array($cacheFile->getBasename(), array('.', '..'))) + if(in_array($cacheFile->getBasename(), array('.', '..', '.gitkeep'))) continue; elseif($cacheFile->isFile()){ if(filemtime($cacheFile->getPathname()) < time() - $duration)