commit | ba7f50bf6553e2f4a3b81da9d5c2c9811e4022c8 | [log] [tgz] |
---|---|---|
author | Joffrey Jaffeux <j.jaffeux@gmail.com> | Wed Jun 06 01:40:01 2012 +0200 |
committer | Joffrey Jaffeux <j.jaffeux@gmail.com> | Thu Jun 07 20:00:12 2012 +0200 |
tree | dd4476cb1a066112ad69a83c8cbff79fa2cb0d52 | |
parent | e6e6eff842ce4314b9ae7f1442579a1dba355e8d [diff] |
replace get_config by config_item
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index 959e2ee..ce5e030 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php
@@ -104,8 +104,7 @@ return $this->encryption_key; } - $CI =& get_instance(); - $key = $CI->config->item('encryption_key'); + $key = config_item('encryption_key'); if ($key === FALSE) {