From: Alan Knowles Date: Thu, 14 Jan 2016 10:13:39 +0000 (+0800) Subject: AssetTrait.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=8092b0a6a89c3d2723286c3ce569e483523c6f55 AssetTrait.php --- diff --git a/AssetTrait.php b/AssetTrait.php index 5e7ff348..176361f3 100644 --- a/AssetTrait.php +++ b/AssetTrait.php @@ -166,7 +166,10 @@ trait Pman_Core_AssetTrait { } } - + if (empty($ar)) { + echo "\n"; + return; + } // cached version?? - how do we decide if it's expired? // while scanning the directory is slow... - it's faster than serving every file...