diff --git a/frontend/cphp/class.templater.php b/frontend/cphp/class.templater.php index e0c0af5..4588e99 100644 --- a/frontend/cphp/class.templater.php +++ b/frontend/cphp/class.templater.php @@ -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); }