projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3bf11b5
)
Asset.php
author
john
<john@roojs.com>
Wed, 15 Aug 2018 06:08:29 +0000
(14:08 +0800)
committer
john
<john@roojs.com>
Wed, 15 Aug 2018 06:08:29 +0000
(14:08 +0800)
Asset.php
patch
|
blob
|
history
diff --git
a/Asset.php
b/Asset.php
index
d98a5be
..
6a8126e
100644
(file)
--- a/
Asset.php
+++ b/
Asset.php
@@
-125,6
+125,10
@@
class Pman_Core_Asset extends Pman {
static function getAssetDir($type)
{
- if(empty($type))
+ if(!in_array($type, array(
+
+ ))) {
+ return false;
+ }
}
}