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

This commit is contained in:
zero 2007-02-23 01:37:09 +00:00
parent a6d506f459
commit b3a839ae94
8 changed files with 80 additions and 51 deletions

View file

@ -30,6 +30,8 @@
var $supported_list = array(); ///< 지원하는 DB의 종류, classes/DB/DB***.class.php 를 이용하여 동적으로 작성됨
var $cache_file = './files/cache/queries/';
/**
* @brief DB를 상속받는 특정 db type의 instance를 생성 return
**/
@ -128,7 +130,7 @@
}
// 일단 cache 파일을 찾아본다
$cache_file = sprintf('./files/queries/%s.cache.php', $query_id);
$cache_file = sprintf('%s%s.cache.php', $this->cache_file, $query_id);
// 없으면 원본 쿼리 xml파일을 찾아서 파싱을 한다
if(!file_exists($cache_file)||filectime($cache_file)<filectime($xml_file)) {

View file

@ -7,11 +7,5 @@
class Handler {
/**
* @brief constructor
**/
function Handler() {
}
}
?>

View file

@ -11,7 +11,7 @@
class TemplateHandler extends Handler {
var $compiled_path = './files/template_compiled/'; ///< 컴파일된 캐쉬 파일이 놓일 위치
var $compiled_path = './files/cache/template_compiled/'; ///< 컴파일된 캐쉬 파일이 놓일 위치
var $tpl_path = ''; ///< 컴파일 대상 경로
var $tpl_file = ''; ///< 컴파일 대상 파일

View file

@ -40,7 +40,7 @@
**/
class XmlJsFilter extends XmlParser {
var $compiled_path = './files/js_filter_compiled/'; ///< 컴파일된 캐시 파일이 놓일 위치
var $compiled_path = './files/cache/js_filter_compiled/'; ///< 컴파일된 캐시 파일이 놓일 위치
var $xml_file = NULL; ///< 대상 xml 파일
var $js_file = NULL; ///< 컴파일된 js 파일