cc-2182: Convert back to restful design
-done
This commit is contained in:
parent
9e01e389ea
commit
8e2019a935
10 changed files with 9 additions and 8 deletions
|
@ -163,7 +163,7 @@ class ApiController extends Zend_Controller_Action
|
|||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
$api_key = $this->_getParam('api_key');
|
||||
|
||||
|
||||
if(!in_array($api_key, $CC_CONFIG["apiKey"]))
|
||||
{
|
||||
header('HTTP/1.0 401 Unauthorized');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue