Merge branch 'develop' of https://github.com/MISP/MISP into develop

pull/304/merge
iglocska 2014-08-19 08:44:39 +02:00
commit e7dc801088
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ class AppController extends Controller {
// Used for _isAutomation(), a check that returns true if the controller & action combo matches an action that is a non-xml and non-json automation method
// This is used to allow authentication via headers for methods not covered by _isRest() - as that only checks for JSON and XML formats
public $automationArray = array(
'events' => array('csv', 'nids', 'hids', 'stix'),
'attributes' => array('text', 'downloadAttachment'),
'events' => array('csv', 'nids', 'hids', 'xml', 'restSearch', 'stix'),
'attributes' => array('text', 'downloadAttachment', 'returnAttributes', 'restSearch'),
);
public function __construct($id = false, $table = null, $ds = null) {