From: Alan Knowles Date: Thu, 14 Jan 2016 10:02:59 +0000 (+0800) Subject: AssetTrait.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=d119c847174f457712b41d069b2747ba704a4a79 AssetTrait.php --- 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/";