Asset.php
authorjohn <john@roojs.com>
Wed, 15 Aug 2018 06:20:47 +0000 (14:20 +0800)
committerjohn <john@roojs.com>
Wed, 15 Aug 2018 06:20:47 +0000 (14:20 +0800)
Asset.php

index b3942b4..c8adb50 100644 (file)
--- a/Asset.php
+++ b/Asset.php
@@ -125,10 +125,15 @@ class Pman_Core_Asset extends Pman {
      
     static function getCompileDir($type)
     {
-        if(
-            empty($type)
-        ) {
-            return false;
+        switch($type) {
+            case 'js'
+                break;
+                case 'js'
+                    break;
+                    case 'js'
+                        break;
+            default:
+                return false;
         }
         
         exit;