fix continue

parent 9c4fafac
......@@ -211,6 +211,19 @@ case 'continue':
} catch (MissingArgumentError $e) {
die($e->getMessage());
}
/******************************************************************************
** LOAD CAPTURE APPLICATION
******************************************************************************/
echo "Instanciate new Capture processor..." . PHP_EOL;
if (file_exists("config/".$ConfigName.".xml")) {
$Capture = new Capture($ConfigName);
} else {
die($ConfigName." not found !". PHP_EOL);
}
# Store in session for modules that will acces through requests
$_SESSION['capture'] = $Capture;
#echo "MaarchCapture continue: " . print_r($commandArgs,true) . PHP_EOL;
......@@ -400,4 +413,4 @@ $Result = $Capture->processWorkflow($inputArgs);
throw new Exception($errmsg);
}*/
?>
\ No newline at end of file
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment