We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5bb6b commit c84c79eCopy full SHA for c84c79e
application/libraries/REST_Controller.php
@@ -292,7 +292,7 @@ public function __construct()
292
293
// only allow ajax requests
294
if (!$this->input->is_ajax_request() and config_item('rest_ajax_only')) {
295
- $response = array('status' => false, 'error' => 'Only AJAX requests are accepted.')
+ $response = array('status' => false, 'error' => 'Only AJAX requests are accepted.');
296
$this->response($response, 406); // Set status to 406 NOT ACCEPTABLE
297
}
298
0 commit comments