projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
93bc041
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 12:12:22 +0000
(20:12 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 12:12:22 +0000
(20:12 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
82defd2
..
8c081a9
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-50,14
+50,14
@@
class Pman_Core_JsTemplate extends Pman {
$pr = $ff->project;
$mods = $this->modulesList();
$pr = $ff->project;
$mods = $this->modulesList();
- print_r($mods);
+
//
print_r($mods);
- $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($
ar
as $mod) {
- $dir =
dirname($mod)
. '/jtemplates';
+ foreach($
mods
as $mod) {
+ $dir =
$this->rootDir .'/Pman/'. $mod
. '/jtemplates';
if (!file_exists($dir)) {
echo '// missing directory '. htmlspecialchars($dir) ."\n";
continue;
if (!file_exists($dir)) {
echo '// missing directory '. htmlspecialchars($dir) ."\n";
continue;