글로벌 변수도 사용할 수 있도록 추가

This commit is contained in:
conory 2016-01-27 20:55:14 +09:00
parent 614cdf3f63
commit a840b5fe46

View file

@ -879,7 +879,7 @@ class TemplateHandler
$callback = function($n)
{
if(preg_match('/^_(_Context|SERVER|COOKIE)/i', $n[1]))
if(preg_match('/^(_(_Context|SERVER|COOKIE)|GLOBALS)/i', $n[1]))
{
return $n[0];
}