projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #5852 - images not showing on excel
[Pman.Core]
/
AssetTrait.php
diff --git
a/AssetTrait.php
b/AssetTrait.php
index
1d186aa
..
a0e626f
100644
(file)
--- a/
AssetTrait.php
+++ b/
AssetTrait.php
@@
-32,7
+32,9
@@
trait Pman_Core_AssetTrait {
$ar = array_merge($ar , glob($dir . '/'. $f));
continue;
}
-
+ if (!preg_match('/\.js$/', $f)) {
+ $f .= ".js";
+ }
$ar[] = $dir .'/'. $f;
}