mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
예외 경우 추가 (에러 수정)
This commit is contained in:
parent
8caa495073
commit
614cdf3f63
1 changed files with 1 additions and 1 deletions
|
|
@ -887,7 +887,7 @@ class TemplateHandler
|
|||
return '$__Context->' . $n[1];
|
||||
};
|
||||
|
||||
return preg_replace_callback('/\$([_a-z0-9^\s]+)/i', $callback, $php);
|
||||
return preg_replace_callback('/(?<!::|\\\\|(?<!eval\()\')\$([_a-z0-9^\s]+)/i', $callback, $php);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue