mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 03:09:55 +09:00
#242 자주 사용되는 데이터를 file cache를 이용하도록 개선.
This commit is contained in:
parent
7f55c5313a
commit
6fb5349c2e
14 changed files with 118 additions and 100 deletions
|
|
@ -257,7 +257,7 @@ class layoutAdminController extends layout
|
|||
$cache_file = $oLayoutModel->getUserLayoutCache($args->layout_srl, Context::getLangType());
|
||||
FileHandler::removeFile($cache_file);
|
||||
//remove from cache
|
||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
$oCacheHandler = CacheHandler::getInstance('object', null, true);
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$cache_key = 'object:'.$args->layout_srl;
|
||||
|
|
@ -330,7 +330,7 @@ class layoutAdminController extends layout
|
|||
$args->layout_srl = $layout_srl;
|
||||
$output = executeQuery("layout.deleteLayout", $args);
|
||||
//remove from cache
|
||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
$oCacheHandler = CacheHandler::getInstance('object', null, true);
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$cache_key = 'object:'.$layout_srl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue