projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ad2c1
)
AssetTrait.php
author
edward
<edward@roojs.com>
Thu, 24 Mar 2016 05:44:39 +0000
(13:44 +0800)
committer
edward
<edward@roojs.com>
Thu, 24 Mar 2016 05:44:39 +0000
(13:44 +0800)
AssetTrait.php
patch
|
blob
|
history
diff --git
a/AssetTrait.php
b/AssetTrait.php
index
fc6f42f
..
3e31ee5
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-78,8
+78,9
@@
trait Pman_Core_AssetTrait {
$lsort = create_function('$a,$b','return strlen($a) > strlen($b) ? 1 : -1;');
usort($files, $lsort);
+ $ff = HTML_FlexyFramework::get();
- if (!empty($
this->bootLoader->isDev
) && !empty($_REQUEST['isDev'])) {
+ if (!empty($
ff->Pman['isDev']
) && !empty($_REQUEST['isDev'])) {
echo "<!-- Javascript compile turned off (isDev on) -->\n";
$this->assetArrayToHtml($files,'js');
return;