mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
TemplateHandler문법에 대한 보정 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6303 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8270be558f
commit
95f4a018e1
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@
|
|||
function _compileVarToContext($matches) {
|
||||
$str = trim(substr($matches[0],1,strlen($matches[0])-2));
|
||||
if(!$str) return $matches[0];
|
||||
if(!in_array(substr($str,0,1),array('(','$'))) {
|
||||
if(!in_array(substr($str,0,1),array('(','$','\'','"'))) {
|
||||
if(preg_match('/^([^\( \.]+)(\(| \.)/i',$str,$m)) {
|
||||
$func = trim($m[1]);
|
||||
if(strpos($func,'::')===false) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue