Add option to empty the contents of the cache dir, not delete it

files/cache 폴더에 다른 파티션이나 램디스크 등이 마운트되어 있는 경우
캐시파일 재생성시 폴더를 삭제할 수 없어 오작동하는 문제를 우회하기 위해
폴더 자체를 삭제하지 않고 내용만 비우는 옵션을 추가함.
This commit is contained in:
Kijin Sung 2017-12-21 14:39:39 +09:00
parent b6aac0beac
commit ae4fd85bfe
6 changed files with 58 additions and 5 deletions

View file

@ -20,7 +20,9 @@ return array(
'engine' => null,
),
),
'cache' => array(),
'cache' => array(
'truncate_method' => 'delete',
),
'ftp' => array(
'host' => 'localhost',
'port' => 21,