projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a0530f8
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:22:54 +0000
(17:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:22:54 +0000
(17:22 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
4562690
..
1dc81bf
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-62,7
+62,7
@@
class Pman_Core_JsTemplate extends Pman {
foreach(glob("$dir/*.html") as $fn) {
- $name = 'Pman.' . $mn .'.' . preg_replace('/\.html$/i', '',
$fn
);
+ $name = 'Pman.' . $mn .'.' . preg_replace('/\.html$/i', '',
basename($fn)
);
echo $this->compile($fn, $name);