Added processing of local
This commit is contained in:
parent
72b4b23dc4
commit
daf168c6c3
|
@ -49,6 +49,10 @@ class Job
|
|||
|
||||
switch($data['type'])
|
||||
{
|
||||
case 'local':
|
||||
$data['command'] = $values['command'];
|
||||
$data['host'] = 'localhost';
|
||||
break;
|
||||
case 'http':
|
||||
$parsedUrl = parse_url($values['url']);
|
||||
$data['url'] = $values['url'];
|
||||
|
|
Loading…
Reference in New Issue