projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1991f5
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 12:22:50 +0000
(20:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 12:22:50 +0000
(20:22 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
8ad31a3
..
67f0e2a
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-43,7
+43,7
@@
class Pman_Core_JsTemplate extends Pman {
function get()
{
// get the modules.
-
//
header('Content-type: text/javascript');
+ header('Content-type: text/javascript');
$ff = HTML_FlexyFramework::get();
@@
-58,7
+58,7
@@
class Pman_Core_JsTemplate extends Pman {
foreach($mods as $mod )
{
$prefix = $mod == $pr ? "" : "{$pr}.";
- var_dump($prefix);
+
//
var_dump($prefix);
$pdir = $mod == $pr ? '' : ($pr .'/') ;
$dir = $this->rootDir .'/'.$pdir . $mod . '/jtemplates';