Need to reference the api key variable name set in the rest config file and use that for the if condition for comparison.
Updated CodeIgniter files to 2.0.3 (Aug 20, 2011 release)

Signed-off-by: Fabio Borraccetti <fabio@borraccetti.it>
remove load library security no more needed with ci 2.0.3
Merge pull request #51 from fborraccetti/master

Updated CodeIgniter files to 2.0.3
Merge pull request #40 from absfarah/master

API key variable name
Added missing codeigniter file
system/core/Security.php
Merge pull request #54 from rebizu/master

added missing codeigniter file
Edited application/libraries/REST_Controller.php via GitHub
Bug fix when using default format serialized:
$config['rest_default_format'] = 'serialized';
Or when trying to access http://domain.com/users/format/serialized.
If log is enabled, all request with an invalid API key will be logged.
Limits where allowing an extra call. This fixes that issue.
Merge branch 'develop-tweaks' into develop
Merge branch 'develop'
Serialized data transfer was not working due to an spelling mistake in the original code.
https://github.com/philsturgeon/codeigniter-restserver/pull/61
Merge pull request #62 from onema/master

Limit bug, no log with bad API key and changed serialize to serialized.
Updated README with Changelog.
Added an IP address whitelist auth option.
Changed visibility of _check_whitelist_auth() to protected.
fixed php error caused by not setting $output in the case of $this->response(array())
Merge pull request #66 from ggoforth/patch-1

fixed php error caused by not setting $output in the case of $this->respo