示例#1
0
 function collectd()
 {
     require_once $this->openqrm->get('basedir') . '/plugins/collectd/web/class/collectd.controller.class.php';
     $controller = new collectd_controller($this->openqrm, $this->response);
     $controller->actions_name = 'cloud_ui';
     $controller->tpldir = $this->openqrm->get('basedir') . '/plugins/collectd/web/tpl/';
     $controller->message_param = 'collectd';
     $controller->image_path = 'api.php?action=collectd&' . $controller->actions_name . '=image';
     $controller->api();
 }