diff --git a/classes/Cache.class.php b/classes/Cache.class.php index ac46b8c..9f4588b 100644 --- a/classes/Cache.class.php +++ b/classes/Cache.class.php @@ -127,7 +127,7 @@ final class Cache { $file = CACHE_PATH . '/' . $this->infofile; if (!file_exists($file) || date('Ymd', filemtime($file)) != date('Ymd')) { - exec('find ' . CACHE_PATH . '/ -type f -mtime +1 -delete'); //не удаляет папки сохраняя структуру + exec('find ' . CACHE_PATH . '/ -type f \! -path "*.svn*" -mtime +1 -delete'); //не удаляет папки сохраняя структуру touch($file); } }