projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
915e34f
)
check file exists
author
Alan Knowles
<alan@roojs.com>
Wed, 3 Jun 2020 10:08:38 +0000
(18:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 3 Jun 2020 10:08:38 +0000
(18:08 +0800)
AssetTrait.php
patch
|
blob
|
history
diff --git
a/AssetTrait.php
b/AssetTrait.php
index
acf584f
..
5199ef2
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-56,7
+56,7
@@
trait Pman_Core_AssetTrait {
$mtime = 0;
foreach($ar as $fn) {
$f = basename($fn);
$mtime = 0;
foreach($ar as $fn) {
$f = basename($fn);
- if (!preg_match('/\.js$/', $f) || $fn == '.js') { // only javascript files... (so XXX.Dialog.YYY* works..)
+ if (!preg_match('/\.js$/', $f) || $fn == '.js'
|| !file_exists($dir . '/' . $f)
) { // only javascript files... (so XXX.Dialog.YYY* works..)
continue;
}
// got the 'module file..'
continue;
}
// got the 'module file..'