From 26d442c2f8e7f09a2e39b664a3dc943aa57ed6b2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 24 Dec 2015 11:41:24 +0800 Subject: [PATCH] Asset.php --- Asset.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Asset.php b/Asset.php index 3f25a66a..6f2230b3 100644 --- a/Asset.php +++ b/Asset.php @@ -275,7 +275,7 @@ trait Pman_Core_Asset_Trait { //$path = $this->rootURL ."/Pman/$mod/"; //print_R($ar);exit; - + $missing_files = false; $files = array(); $arfiles = array(); $relfiles = array(); // array of files without the path part... @@ -285,14 +285,27 @@ trait Pman_Core_Asset_Trait { $relfiles[] = substr($fn, strlen($dir)+1); $f = basename($fn); // got the 'module file..' + + if (!file_exists($dir . '/'. $f)) { + echo "