git-svn-id: http://xe-core.googlecode.com/svn/trunk@1711 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-20 08:19:16 +00:00
parent 62ce9f99b2
commit 3d089fb60e
4 changed files with 9 additions and 3 deletions

View file

@ -105,7 +105,9 @@
}
// cache 파일을 비교하여 문제 없으면 include하고 $layout_info 변수를 return
$cache_file = sprintf('./files/cache/layout/%s.%s.cache.php', $layout, Context::getLangType());
if(!$layout_srl) $cache_file = sprintf('./files/cache/layout/%s.%s.cache.php', $layout, Context::getLangType());
else $cache_file = sprintf('./files/cache/layout/%s.%s.cache.php', $layout_srl, Context::getLangType());
if(file_exists($cache_file)&&filectime($cache_file)>filectime($xml_file)) {
@include($cache_file);