diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:00:05 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:00:05 -0400 |
commit | c753fa19d289e936131aad706cf31bcfe111b4c1 (patch) | |
tree | b16bf42475ad2ab03afcad00945ed3350bd7a1d0 /include | |
parent | 31a21ac24cd5cbe19e40ab3838fcc179d812da13 (diff) | |
download | volse-hubzilla-c753fa19d289e936131aad706cf31bcfe111b4c1.tar.gz volse-hubzilla-c753fa19d289e936131aad706cf31bcfe111b4c1.tar.bz2 volse-hubzilla-c753fa19d289e936131aad706cf31bcfe111b4c1.zip |
fix internal
Diffstat (limited to 'include')
-rwxr-xr-x | include/template_processor.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/template_processor.php b/include/template_processor.php index 794155f84..74acc9c67 100755 --- a/include/template_processor.php +++ b/include/template_processor.php @@ -248,7 +248,11 @@ return $s; } - + + private function replace($s,$r) { + $this->replace_macros($s, $r); + } + // TemplateEngine interface public function replace_macros($s, $r) { $this->r = $r; @@ -274,7 +278,6 @@ public function get_markup_template($file, $root='') { $template_file = theme_include($file, $root); - $template_file = ""; if ($template_file) { $content = file_get_contents($template_file); } |