From: Jason Date: Fri, 4 Jul 2008 02:38:35 +0000 (-0400) Subject: run.php tem_set('basename') in template.html X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=b7aee26390165baf2ca97ea7de2c577cc2456748;hp=-c;p=wfpl.git run.php tem_set('basename') in template.html --- b7aee26390165baf2ca97ea7de2c577cc2456748 diff --git a/run.php b/run.php index 2407202..e861bb2 100644 --- a/run.php +++ b/run.php @@ -131,6 +131,7 @@ function run_php($basename = false) { if(file_exists('template.html')) { $tem = new tem(); $tem->load("template.html"); + $tem->set('basename', $basename); if($cms_content) foreach($cms_content as $name => $val) { $tem->append($name, $val); }