JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
* template.php: changed arg order, new context stack implementation.
[wfpl.git] / run.php
diff --git a/run.php b/run.php
index 26a8b36..4e56e98 100644 (file)
--- a/run.php
+++ b/run.php
@@ -137,7 +137,7 @@ function run_php($dest = false) {
        } elseif($html_exists) {
                $template = parse_template_file("$html_file");
        }
-       if($template) print fill_template($data, $template);
+       if($template) print fill_template($template, $data);
 }
 
 run_php();