mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fixed Apc Cache Handler
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7455 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3d738e713a
commit
c7e0993d29
3 changed files with 17 additions and 12 deletions
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
$oCacheHandler = &CacheHandler::getInstance('template');
|
||||
if($oCacheHandler->isSupport()){
|
||||
$cache_key = 'template:'.$_SERVER['HTTP_HOST'] . $tpl_file;
|
||||
$cache_key = 'template:' . $tpl_file;
|
||||
$buff = $oCacheHandler->get($cache_key, filemtime(FileHandler::getRealPath($tpl_file)));
|
||||
if(!$buff){
|
||||
$buff = $this->_compileTplFile($tpl_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue