Asset.php
authorjohn <john@roojs.com>
Wed, 15 Aug 2018 06:08:29 +0000 (14:08 +0800)
committerjohn <john@roojs.com>
Wed, 15 Aug 2018 06:08:29 +0000 (14:08 +0800)
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;
+        }
     }
 }