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

@ -168,6 +168,10 @@ $lang->cache_default_ttl = 'Cache default TTL';
$lang->cache_host = 'Host';
$lang->cache_port = 'Port';
$lang->cache_dbnum = 'DB Number';
$lang->cache_truncate_method = 'Cache Truncate Method';
$lang->cache_truncate_method_delete = 'Delete cache folder itself';
$lang->cache_truncate_method_empty = 'Delete content of cache folder';
$lang->about_cache_truncate_method = 'It is faster and more reliable to delete the cache folder itself.<br />Choose the option to delete content only if the cache folder cannot be deleted, e.g. it is a mountpoint.';
$lang->msg_cache_handler_not_supported = 'Your server does not support the selected cache method, or Rhymix is unable to use the cache with the given settings.';
$lang->msg_invalid_default_url = 'The default URL is invalid.';
$lang->msg_default_url_ssl_inconsistent = 'In order to use SSL always, the default URL must also begin with https://';