public function main() { $this->CheckAdminPrivs('apimanage'); if (function_exists('apim')) { apim('dashboard')->main($this); } else { include handler('template')->file('@admin/apim.missing'); } }
public function main() { if (function_exists('apim')) { $uri = get('r')? get('r') : post('r'); apim('gateway')->dispatch($uri); } else { exit('API ERROR : NOT SUPPORTED'); } }
public function protocol_acl($do, $ps, $data = null) { return apim('dashboard')->protocol_acl_status($do, $ps, $data); }