#85, time()을 $_SERVER['REQUEST_TIME']으로 대체

This commit is contained in:
khongchi 2013-11-21 16:13:53 +09:00
parent 3bc8d7da67
commit 540da2c75c
28 changed files with 48 additions and 48 deletions

View file

@ -67,7 +67,7 @@ class CacheApc extends CacheBase
$valid_time = $this->valid_time;
}
return apc_store(md5(_XE_PATH_ . $key), array(time(), $buff), $valid_time);
return apc_store(md5(_XE_PATH_ . $key), array($_SERVER['REQUEST_TIME'], $buff), $valid_time);
}
/**

View file

@ -113,7 +113,7 @@ class CacheMemcache extends CacheBase
$valid_time = $this->valid_time;
}
return $this->Memcache->set($this->getKey($key), array(time(), $buff), MEMCACHE_COMPRESSED, $valid_time);
return $this->Memcache->set($this->getKey($key), array($_SERVER['REQUEST_TIME'], $buff), MEMCACHE_COMPRESSED, $valid_time);
}
/**

View file

@ -69,7 +69,7 @@ class CacheWincache extends CacheBase
{
$valid_time = $this->valid_time;
}
return wincache_ucache_set(md5(_XE_PATH_ . $key), array(time(), $buff), $valid_time);
return wincache_ucache_set(md5(_XE_PATH_ . $key), array($_SERVER['REQUEST_TIME'], $buff), $valid_time);
}
/**