X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=run.php;h=3d0b1d4d5e2bbe66a7d9b7dc1a6d7bef69e349c9;hb=27f182546d729a9d297091799fcf1a1922da0c5e;hp=26a8b36fffc9a14d1937b48380eb829e57fe9b19;hpb=ba50d9a564ca3b8637212c634b5a61a38e6feb9f;p=wfpl.git diff --git a/run.php b/run.php index 26a8b36..3d0b1d4 100644 --- a/run.php +++ b/run.php @@ -116,7 +116,7 @@ function run_php($dest = false) { } } - $data = &$GLOBALS['wfpl_template']; + $data = &$GLOBALS['wfpl_tem_data']; $data['basename'] = $basename; if(function_exists('display_messages')) { display_messages(); @@ -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();