Fix executing filter
This commit is contained in:
parent
cd883e23b8
commit
c482fa7d5d
|
@ -168,8 +168,9 @@ class Filter extends ZM_Object {
|
|||
} # end foreach erver
|
||||
} # end function control
|
||||
public function execute() {
|
||||
$command = ZM_PATH_BIN.'/zmfilter.pl --filter_id '.escapeshellarg($this->Id());
|
||||
$command = ZM_PATH_BIN.'/zmfilter.pl --filter_id='.escapeshellarg($this->Id());
|
||||
$result = exec($command, $output, $status);
|
||||
Logger::Debug("$command status:$status output:".implode("\n", $output));
|
||||
return $status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue