Finished Line- & Pipework export
This commit is contained in:
@@ -210,8 +210,8 @@ class LineworkController extends mfBaseController {
|
||||
$cmd = BASEDIR."/scripts/start_workflow_export.php";
|
||||
$args = "";
|
||||
|
||||
$filter['type'] = "Pipework";
|
||||
$filter['user_id'] = $this->me->id;
|
||||
$get['filter']['type'] = "Linework";
|
||||
$get['filter']['user_id'] = $this->me->id;
|
||||
|
||||
foreach($get['filter'] as $key => $value) {
|
||||
$args .= " ".escapeshellarg("--$key")." ". escapeshellarg($value);
|
||||
@@ -219,6 +219,7 @@ class LineworkController extends mfBaseController {
|
||||
|
||||
|
||||
$cmd = "$cmd --uid ". escapeshellarg($uid)." $args >/dev/null 2>&1 &";
|
||||
$this->log->debug($cmd);
|
||||
exec($cmd);
|
||||
|
||||
// return progress
|
||||
|
||||
Reference in New Issue
Block a user