From: john Date: Wed, 15 Aug 2018 06:10:46 +0000 (+0800) Subject: Asset.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=f6c966de72e96263fd4ee88bdc7a732fe7ae0e07 Asset.php --- diff --git a/Asset.php b/Asset.php index 6a8126e5..5e565ae1 100644 --- a/Asset.php +++ b/Asset.php @@ -125,10 +125,10 @@ class Pman_Core_Asset extends Pman { static function getAssetDir($type) { - if(!in_array($type, array( - - ))) { + if(empty($type)) { return false; } + + } }