mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
NOISSUE PHP 5.4 이상 호환성 개선.
This commit is contained in:
parent
742af78932
commit
41ff8ace3b
32 changed files with 365 additions and 113 deletions
|
|
@ -23,12 +23,15 @@ class sessionModel extends session
|
|||
{
|
||||
if(!$session_key || !$this->session_started) return;
|
||||
|
||||
$output = new Object();
|
||||
|
||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$cache_key = 'object:'.$session_key;
|
||||
$output->data = $oCacheHandler->get($cache_key);
|
||||
}
|
||||
|
||||
if(!$output->data)
|
||||
{
|
||||
$args = new stdClass();
|
||||
|
|
@ -77,6 +80,7 @@ class sessionModel extends session
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
$member_srls = array();
|
||||
$member_keys = array();
|
||||
if(count($output->data))
|
||||
{
|
||||
foreach($output->data as $key => $val)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue