projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AssetTrait.php
[Pman.Core]
/
AssetTrait.php
diff --git
a/AssetTrait.php
b/AssetTrait.php
index
5e7ff34
..
176361f
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-166,7
+166,10
@@
trait Pman_Core_AssetTrait {
}
}
-
+ if (empty($ar)) {
+ echo "<!-- skipping $path - no files found -->\n";
+ return;
+ }
// cached version?? - how do we decide if it's expired?
// while scanning the directory is slow... - it's faster than serving every file...