cc-2182: Convert back to restful design

-done
This commit is contained in:
martin 2011-05-02 16:33:37 -04:00
parent 9e01e389ea
commit 8e2019a935
10 changed files with 9 additions and 8 deletions

View file

@ -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');