mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
Merge #1623 모바일에서도 api를 사용할 수 있도록 변경 by zfanta
* pr/1623: 모바일에서도 api를 사용할 수 있도록 변경
This commit is contained in:
commit
ff046e135e
1 changed files with 2 additions and 2 deletions
|
|
@ -472,8 +472,8 @@ class ModuleObject extends Object
|
|||
return FALSE;
|
||||
}
|
||||
}
|
||||
// execute api methos of the module if view action is and result is XMLRPC or JSON
|
||||
if($this->module_info->module_type == 'view')
|
||||
// execute api methods of the module if view action is and result is XMLRPC or JSON
|
||||
if($this->module_info->module_type == 'view' || $this->module_info->module_type == 'mobile')
|
||||
{
|
||||
if(Context::getResponseMethod() == 'XMLRPC' || Context::getResponseMethod() == 'JSON')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue