JsCompile.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 28 Feb 2013 16:07:47 +0000 (00:07 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 28 Feb 2013 16:07:47 +0000 (00:07 +0800)
JsCompile.php

index 195330d..2ebc966 100644 (file)
@@ -244,8 +244,10 @@ class Pman_Core_JsCompile  extends Pman
         }
         require_once 'System.php';
         $seed= System::which('seed');
-        if (!$seed) {
-            echo '<!-- JS COMPILE ERROR: seed not installed -->';
+        $gjs = System::which('gjs');
+        
+        if (!$seed && !$gjs) {
+            echo '<!-- seed or gjs are  not installed -->';
             return false;
             
         }