mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 04:12:18 +09:00
fix #385 object cache 정리 및 오류가 발생할 수 는 문제 해결
This commit is contained in:
parent
58e141c48a
commit
d48d9d80a7
14 changed files with 175 additions and 167 deletions
9
classes/cache/CacheApc.class.php
vendored
9
classes/cache/CacheApc.class.php
vendored
|
|
@ -8,6 +8,8 @@
|
|||
* */
|
||||
class CacheApc extends CacheBase
|
||||
{
|
||||
public static $isSupport = false;
|
||||
|
||||
/**
|
||||
* Get instance of CacheApc
|
||||
*
|
||||
|
|
@ -30,7 +32,6 @@ class CacheApc extends CacheBase
|
|||
*/
|
||||
function CacheApc()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -40,7 +41,7 @@ class CacheApc extends CacheBase
|
|||
*/
|
||||
function isSupport()
|
||||
{
|
||||
return function_exists('apc_add');
|
||||
return self::$isSupport;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -148,6 +149,10 @@ class CacheApc extends CacheBase
|
|||
return apc_clear_cache('user');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
CacheApc::$isSupport = function_exists('apc_add');
|
||||
|
||||
/* End of file CacheApc.class.php */
|
||||
/* Location: ./classes/cache/CacheApc.class.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue