From: Alan Knowles Date: Sun, 1 Apr 2012 12:13:37 +0000 (+0800) Subject: JsTemplate.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7db9770de66e8541980299370edf86ea1f818066 JsTemplate.php --- diff --git a/JsTemplate.php b/JsTemplate.php index 7364088f..9bb8f4c8 100644 --- 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']); - //$prefix = $pr == 'Pman' ? 'Pman.' : ''; + $prefix = $pr == 'Pman' ? 'Pman.' : ''; 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;