projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2488c03
)
AssetTrait.php
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 10:02:59 +0000
(18:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 10:02:59 +0000
(18:02 +0800)
AssetTrait.php
patch
|
blob
|
history
diff --git
a/AssetTrait.php
b/AssetTrait.php
index
62ca29c
..
5f0627e
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-39,7
+39,10
@@
trait Pman_Core_AssetTrait {
}
// cached version?? - how do we decide if it's expired?
// while scanning the directory is slow... - it's faster than serving every file...
}
// cached version?? - how do we decide if it's expired?
// while scanning the directory is slow... - it's faster than serving every file...
-
+ if (empty($ar)) {
+ echo "<!-- skipping $path - no file found -->\n";
+ return;
+ }
//$path = $this->rootURL ."/Pman/$mod/";
//$path = $this->rootURL ."/Pman/$mod/";