mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 17:32:15 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7711 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8c71b736e7
commit
7e155c8b19
1 changed files with 4 additions and 3 deletions
|
|
@ -51,9 +51,10 @@
|
|||
|
||||
// set template file infos.
|
||||
$info = pathinfo($tpl_file);
|
||||
$this->path = preg_replace('/^\.\//','',$info['dirname']).'/';
|
||||
$this->filename = $info['basename'];
|
||||
$this->file = $this->path.$this->filename;
|
||||
//$this->path = preg_replace('/^\.\//','',$info['dirname']).'/';
|
||||
$this->path = $tpl_path;
|
||||
$this->filename = $tpl_filename;
|
||||
$this->file = $tpl_file;
|
||||
|
||||
$this->xe_path = preg_replace('/([^\.^\/]+)\.php$/i','',$_SERVER['SCRIPT_NAME']);
|
||||
$this->web_path = $this->xe_path.str_replace(_XE_PATH_,'',$this->path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue