projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ead77aa
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 12:13:37 +0000
(20:13 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 12:13:37 +0000
(20:13 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
7364088
..
9bb8f4c
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-54,10
+54,10
@@
class Pman_Core_JsTemplate extends Pman {
//$ar = explode(PATH_SEPARATOR, $ff->HTML_Template_Flexy['templateDir']);
//$ar = explode(PATH_SEPARATOR, $ff->HTML_Template_Flexy['templateDir']);
-
//
$prefix = $pr == 'Pman' ? 'Pman.' : '';
+ $prefix = $pr == 'Pman' ? 'Pman.' : '';
foreach($mods as $mod) {
foreach($mods as $mod) {
- $dir = $this->rootDir .'/
Pman
/'. $mod . '/jtemplates';
+ $dir = $this->rootDir .'/
'.$pr . '
/'. $mod . '/jtemplates';
if (!file_exists($dir)) {
echo '// missing directory '. htmlspecialchars($dir) ."\n";
continue;
if (!file_exists($dir)) {
echo '// missing directory '. htmlspecialchars($dir) ."\n";
continue;