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

This commit is contained in:
zero 2007-04-17 04:09:22 +00:00
parent 4ecfe64485
commit 4c123b4395
9 changed files with 63 additions and 34 deletions

View file

@ -22,7 +22,7 @@
$this->tpl_path = $tpl_path;
// 디버그를 위한 컴파일 시작 시간 저장
if(__DEBUG__) $start = getMicroTime();
if(__DEBUG__==3) $start = getMicroTime();
// 변수 체크
$this->tpl_path = ereg_replace('(\/+)$', '', $this->tpl_path).'/';
@ -42,7 +42,7 @@
// 일단 컴파일
$buff = $this->_compile($tpl_file, $compiled_tpl_file);
if(__DEBUG__) $GLOBALS['__template_elapsed__'] += getMicroTime() - $start;
if(__DEBUG__==3) $GLOBALS['__template_elapsed__'] += getMicroTime() - $start;
// Context와 compiled_tpl_file로 컨텐츠 생성
$output = $this->_fetch($compiled_tpl_file, $buff);