projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8daf609
)
AssetTrait.php
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 10:11:34 +0000
(18:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 10:11:34 +0000
(18:11 +0800)
AssetTrait.php
patch
|
blob
|
history
diff --git
a/AssetTrait.php
b/AssetTrait.php
index
75fd7b3
..
a35005b
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-110,9
+110,11
@@
trait Pman_Core_AssetTrait {
} else {
// echo "<!-- file already exists: {$basedir}/{$output} -->\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');