From: john Date: Wed, 15 Aug 2018 06:20:47 +0000 (+0800) Subject: Asset.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=b368aad607efbd8dae9e558e7022f086b805e058 Asset.php --- diff --git a/Asset.php b/Asset.php index b3942b46..c8adb503 100644 --- 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;