mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@757 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bf280a8a53
commit
5666d36e4c
5 changed files with 82 additions and 19 deletions
|
|
@ -118,7 +118,7 @@
|
|||
$str2 = $matches[2];
|
||||
$path = $str2;
|
||||
|
||||
if(substr($path,0,1)=='/' || eregi(":\/\/",$path)) return $str1;
|
||||
if(!eregi("^([a-z0-9\_\.])",$path)) return $str1;
|
||||
|
||||
$path = preg_replace('/^(\.\/|\/)/','',$path);
|
||||
$path = '<?=$this->tpl_path?>'.$path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue