projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864bb98
)
AssetTrait.php
author
Alan Knowles
<alan@roojs.com>
Thu, 15 Mar 2018 05:14:00 +0000
(13:14 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 15 Mar 2018 05:14:00 +0000
(13:14 +0800)
AssetTrait.php
patch
|
blob
|
history
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);