projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ae917f
)
PHP8 fix
author
Alan
<alan@roojs.com>
Wed, 19 Jul 2023 04:54:06 +0000
(12:54 +0800)
committer
Alan
<alan@roojs.com>
Wed, 19 Jul 2023 04:54:06 +0000
(12:54 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
9025334
..
089db58
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-262,7
+262,7
@@
class Pman_Core_JsCompile extends Pman
$cmd = "$pg roojspacker";
$res = `$cmd`;
$cmd = "$pg roojspacker";
$res = `$cmd`;
- $out = trim($res);
+ $out =
empty($res) ? '' :
trim($res);
if (strlen($out) > 0) {
echo '<!-- onther process is compiling compile. -->';
return false;
if (strlen($out) > 0) {
echo '<!-- onther process is compiling compile. -->';
return false;