mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 20:32:14 +09:00
#19160747 Template include 시 path 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7733 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3565c69f39
commit
156471935d
1 changed files with 2 additions and 1 deletions
|
|
@ -570,7 +570,8 @@
|
|||
if(substr($arg,0,2)=='./') $arg = substr($arg,2);
|
||||
|
||||
// step1: check files in the template directory
|
||||
$source_filename = sprintf("%s/%s", dirname($this->file), $arg);
|
||||
//$source_filename = sprintf("%s/%s", dirname($this->file), $arg);
|
||||
$source_filename = sprintf("%s/%s", $this->path, $arg);
|
||||
|
||||
// step2: check path from root
|
||||
if(!file_exists($source_filename)) $source_filename = './'.$arg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue