mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
외부페이지 호출 에러 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7727 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8c099e55d4
commit
c329d56fb9
2 changed files with 5 additions and 5 deletions
|
|
@ -44,7 +44,7 @@
|
|||
function init($tpl_path, $tpl_filename, $tpl_file) {
|
||||
// verify arguments
|
||||
if(substr($tpl_path,-1)!='/') $tpl_path .= '/';
|
||||
if(substr($tpl_filename,-5)!='.html') $tpl_filename .= '.html';
|
||||
if(!file_exists($tpl_path.$tpl_filename)&&file_exists($tpl_path.$tpl_filename.'.html')) $tpl_filename .= '.html';
|
||||
|
||||
// create tpl_file variable
|
||||
if(!$tpl_file) $tpl_file = $tpl_path.$tpl_filename;
|
||||
|
|
@ -131,7 +131,8 @@
|
|||
exit();
|
||||
}
|
||||
|
||||
return $this->parse();
|
||||
$this->parse();
|
||||
return $this->buff;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue