Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b03e19d
)
run.php tem_set('basename') in template.html
author
Jason
<jason@parth.(none)>
Fri, 4 Jul 2008 02:38:35 +0000
(22:38 -0400)
committer
Jason
<jason@parth.(none)>
Fri, 4 Jul 2008 02:38:35 +0000
(22:38 -0400)
run.php
patch
|
blob
|
history
diff --git
a/run.php
b/run.php
index
2407202
..
e861bb2
100644
(file)
--- 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");
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);
}
if($cms_content) foreach($cms_content as $name => $val) {
$tem->append($name, $val);
}