mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 12:19:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea478b24e4
commit
99dfa91c4b
12 changed files with 23 additions and 18 deletions
|
|
@ -102,7 +102,7 @@
|
|||
// cache 파일을 비교하여 문제 없으면 include하고 $layout_info 변수를 return
|
||||
$cache_file = sprintf('./files/cache/layout/%s.%s.cache.php', $layout, Context::getLangType());
|
||||
if(file_exists($cache_file)&&filectime($cache_file)>filectime($xml_file)) {
|
||||
include $cache_file;
|
||||
@include($cache_file);
|
||||
|
||||
if($layout_info->extra_var) {
|
||||
foreach($vars as $key => $value) {
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
|
||||
$buff = '<?php if(!defined("__ZBXE__")) exit(); '.$buff.' ?>';
|
||||
FileHandler::writeFile($cache_file, $buff);
|
||||
if(file_exists($cache_file)) include $cache_file;
|
||||
if(file_exists($cache_file)) @include($cache_file);
|
||||
return $layout_info;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue