diff --git a/index.php b/index.php index 63d72b8..5578b2d 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,6 @@ getBasename(), array('.', '..'))) + continue; + elseif ($cacheFile->isFile()) { + if( filemtime($cacheFile->getPathname()) < $cacheTimeLimit ) + unlink( $cacheFile->getPathname() ); + } + } + } + } + +}