mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
#242 cache key가 없을 때 폴더 permission 변경 문제 수정 및 cache groupkey 정리.
This commit is contained in:
parent
21ccd7f0d3
commit
ea96846d28
1 changed files with 3 additions and 1 deletions
4
classes/cache/CacheHandler.class.php
vendored
4
classes/cache/CacheHandler.class.php
vendored
|
|
@ -169,6 +169,8 @@ class CacheHandler extends Handler
|
|||
*/
|
||||
function put($key, $obj, $valid_time = 0)
|
||||
{
|
||||
if(!$key) return false;
|
||||
|
||||
$key = $this->getCacheKey($key);
|
||||
if(!$this->handler)
|
||||
{
|
||||
|
|
@ -249,7 +251,7 @@ class CacheHandler extends Handler
|
|||
$this->handler->put('key_group_versions', $this->keyGroupVersions, 0);
|
||||
}
|
||||
|
||||
return $this->keyGroupVersions[$keyGroupName] . ':' . $keyGroupName . ':' . $key;
|
||||
return 'cache_group_' . $this->keyGroupVersions[$keyGroupName] . ':' . $keyGroupName . ':' . $key;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue