X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JsTemplate.php;h=06be769b1e189310a41100d266f08aa930bd6519;hb=d3dd5dfe57368bf03bb2aadfc5bb56bec1579438;hp=9bb8f4c8b741f545bc1cc08cdaff557fbbb4d478;hpb=7db9770de66e8541980299370edf86ea1f818066;p=Pman.Core diff --git a/JsTemplate.php b/JsTemplate.php index 9bb8f4c8..06be769b 100644 --- a/JsTemplate.php +++ b/JsTemplate.php @@ -54,7 +54,7 @@ class Pman_Core_JsTemplate extends Pman { //$ar = explode(PATH_SEPARATOR, $ff->HTML_Template_Flexy['templateDir']); - $prefix = $pr == 'Pman' ? 'Pman.' : ''; + $prefix = empty($mods) ? '' : ($pr .'.') ; foreach($mods as $mod) { $dir = $this->rootDir .'/'.$pr . '/'. $mod . '/jtemplates';