From f6c966de72e96263fd4ee88bdc7a732fe7ae0e07 Mon Sep 17 00:00:00 2001 From: john Date: Wed, 15 Aug 2018 14:10:46 +0800 Subject: [PATCH] Asset.php --- Asset.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } + + } } -- 2.39.2