implode the output from zmu to fix php complaint abou array to string conversion
parent
e52a77f206
commit
0515a1ba74
|
@ -295,7 +295,7 @@ class MonitorsController extends AppController {
|
|||
|
||||
$shellcmd = escapeshellcmd(ZM_PATH_BIN."/zmu $verbose -m$id $q $auth");
|
||||
$status = exec($shellcmd, $output, $rc);
|
||||
ZM\Debug("Command: $shellcmd output: $output rc: $rc");
|
||||
ZM\Debug("Command: $shellcmd output: ".implode(PHP_EOL, $output)." rc: $rc");
|
||||
if ($rc) {
|
||||
$this->set(array(
|
||||
'status'=>'false',
|
||||
|
|
Loading…
Reference in New Issue