mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
Skip to proccess $ sign in single quotes
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9706 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5d797a51e4
commit
4e4eac40c5
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ class TemplateHandler {
|
||||||
**/
|
**/
|
||||||
function _replaceVar($php) {
|
function _replaceVar($php) {
|
||||||
if(!strlen($php)) return '';
|
if(!strlen($php)) return '';
|
||||||
return preg_replace('@(?<!::|\\\\)\$([a-z]|_[a-z0-9])@i', '\$__Context->$1', $php);
|
return preg_replace('@(?<!::|\\\\|\')\$([a-z]|_[a-z0-9])@i', '\$__Context->$1', $php);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue