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