X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=AssetTrait.php;h=a35005be26ccf021a1c2cbe4c0363d85b07dc726;hb=abaed304a222a7b71d82717d82e7a1a80043ba17;hp=75fd7b30aa835012e6a877b5fcc54b3b6aa2b06b;hpb=8daf609a2d2fd2f0012a125efc20d6af43e6abb7;p=Pman.Core diff --git a/AssetTrait.php b/AssetTrait.php index 75fd7b30..a35005be 100644 --- a/AssetTrait.php +++ b/AssetTrait.php @@ -110,9 +110,11 @@ trait Pman_Core_AssetTrait { } else { // echo "\n"; } + + $asset = $ff->project == 'Pman' ? '/Pman/Asset/js' : '/Asset/js/'; //$this->arrayToJsInclude( $files); $this->assetArrayToHtml( array( - $this->baseURL.'/Asset/js/'. $output, + $this->baseURL.$asset. $output, ), 'js');