From b7aee26390165baf2ca97ea7de2c577cc2456748 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 3 Jul 2008 22:38:35 -0400 Subject: [PATCH] run.php tem_set('basename') in template.html --- run.php | 1 + 1 file changed, 1 insertion(+) 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); } -- 1.7.10.4