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
cadc2cc
..
b74271e
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-54,6
+54,9
@@
trait Pman_Core_AssetTrait {
$mtime = 0;
foreach($ar as $fn) {
$f = basename($fn);
+ if (!preg_match('/\.js$/', $f)) {
+ continue;
+ }
// got the 'module file..'
$mtime = filemtime($dir . '/'. $f);
$maxtime = max($mtime, $maxtime);