Mockup is done.
Todo: change interface and class to add parameters (user, uid, pass) to be more generic, and the job is almost done :-)
This commit is contained in:
parent
83a6eae4bc
commit
962483220f
|
@ -16,7 +16,8 @@ getFields($fields);
|
||||||
|
|
||||||
if (in_array($action, array('start', 'stop', 'monit')))
|
if (in_array($action, array('start', 'stop', 'monit')))
|
||||||
{
|
{
|
||||||
call_user_func(array($lxc, $action));
|
$res = call_user_func(array($lxc, $action));
|
||||||
|
var_dump ($res);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue