mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
702d94a 보안 페이지값이 1이상일 경우 디비에서 페이지리스트를 가져와야함
This commit is contained in:
parent
b7cfa59409
commit
5ceac274e4
1 changed files with 8 additions and 5 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue