X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=template.php;h=e386fe2ed6e7b52db94ab9eef12552202f7fe467;hb=0829623c0e10d5cc83e12547387b5fa0abaf43e0;hp=ffc83e7c1164d5ed9d72dabf76d949c8867945c8;hpb=0cbe95a89dd1a22bea47fdb602bd401d8386e1b9;p=wfpl.git diff --git a/template.php b/template.php index ffc83e7..e386fe2 100644 --- a/template.php +++ b/template.php @@ -165,7 +165,7 @@ class tem { $template_string = read_whole_file($template_file); } - return template_run($this->template, $this->keyval); + return template_run($template_string, $this->keyval); } # same as run() except the output is print()ed