[CPHP] Enable global template variables in Advanced Parser

feature/node-rewrite
Sven Slootweg 13 years ago
parent 94d921c4e8
commit 423a11ebb3

@ -297,7 +297,10 @@ class Templater
public function Parse($data)
{
global $template_global_vars;
$tree = $this->BuildSyntaxTree();
$data = array_merge($data, $template_global_vars);
return $this->root->Evaluate($data);
}

Loading…
Cancel
Save