702d94a 보안 페이지값이 1이상일 경우 디비에서 페이지리스트를 가져와야함

This commit is contained in:
BJRambo 2018-01-15 15:41:04 +09:00
parent b7cfa59409
commit 5ceac274e4

View file

@ -239,13 +239,16 @@ class ncenterliteModel extends ncenterlite
$member_srl = $logged_info->member_srl;
}
$cache_key = sprintf('ncenterlite:notify_list:%d', $member_srl);
$output = Rhymix\Framework\Cache::get($cache_key);
if ($output !== null)
if($page <= 1)
{
return $output;
$cache_key = sprintf('ncenterlite:notify_list:%d', $member_srl);
$output = Rhymix\Framework\Cache::get($cache_key);
if ($output !== null)
{
return $output;
}
}
$flag_path = \RX_BASEDIR . 'files/cache/ncenterlite/new_notify/' . getNumberingPath($member_srl) . $member_srl . '.php';
if(FileHandler::exists($flag_path) && $page <= 1)
{