From d119c847174f457712b41d069b2747ba704a4a79 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 14 Jan 2016 18:02:59 +0800 Subject: [PATCH] AssetTrait.php --- AssetTrait.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AssetTrait.php b/AssetTrait.php index 62ca29cd..5f0627ef 100644 --- a/AssetTrait.php +++ b/AssetTrait.php @@ -39,7 +39,10 @@ trait Pman_Core_AssetTrait { } // cached version?? - how do we decide if it's expired? // while scanning the directory is slow... - it's faster than serving every file... - + if (empty($ar)) { + echo "\n"; + return; + } //$path = $this->rootURL ."/Pman/$mod/"; -- 2.39.2