From b33050bcc31bfae76b1dfab5cae9261f111b3db0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 22 Jul 2011 15:39:55 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/JsCompile.php b/JsCompile.php index f201bb5b..015dd4f0 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -113,13 +113,16 @@ class Pman_Core_JsCompile extends Pman $o = HTML_FlexyFramework::get()->Pman_Core; if (empty($o['jspacker']) || !file_exists($o['jspacker'].'/pack.js')) { - throw new Exception("no jstoolkit path set [Pman_Core][jspacker] to the - introspection documentation directory where pack.js is located."); + echo ''; + return false; + } require_once 'System.php'; $seed= System::which('seed'); if (!$seed) { - throw new Exception(" no seed installed"); + echo ''; + return false; + } $max = 0; foreach($files as $i => $f) { -- 2.39.2