public function rpc($m = NULL, $a = NULL, $s = true) { // TODO: auth ( s - secure ) try { $d = parent::rpc($m, $a); } catch (Exception $e) { return c2Req::jex($e); } return c2Req::jre($d); }
<?php require_once "../php/h.php"; $uac = new c2UAC(); $uac->rpc(c2Req::get('c'));