mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 18:59:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1682 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a774aa0f54
commit
f0726798e5
6 changed files with 21 additions and 4 deletions
|
|
@ -57,7 +57,7 @@
|
|||
$buff = $this->_compile($tpl_file, $compiled_tpl_file);
|
||||
|
||||
// Context와 compiled_tpl_file로 컨텐츠 생성
|
||||
$output = $this->_fetch($compiled_tpl_file, $buff);
|
||||
$output = $this->_fetch($compiled_tpl_file, $buff, $tpl_path);
|
||||
|
||||
if(__DEBUG__==3 ) $GLOBALS['__template_elapsed__'] += getMicroTime() - $start;
|
||||
|
||||
|
|
@ -310,8 +310,9 @@
|
|||
/**
|
||||
* @brief ob_* 함수를 이용하여 fetch...
|
||||
**/
|
||||
function _fetch($compiled_tpl_file, $buff = NULL) {
|
||||
function _fetch($compiled_tpl_file, $buff = NULL, $tpl_path = '') {
|
||||
$__Context = &$GLOBALS['__Context__'];
|
||||
$__Context->tpl_path = $tpl_path;
|
||||
|
||||
if($_SESSION['is_logged']) $__Context->logged_info = $_SESSION['logged_info'];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue