projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7ce1898
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 28 Feb 2013 16:07:47 +0000
(
00:07
+0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 28 Feb 2013 16:07:47 +0000
(
00:07
+0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
195330d
..
2ebc966
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-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;
}