ignore files in .svn, #10
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@103 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user