diff options
author | Joffrey Jaffeux <j.jaffeux@gmail.com> | 2012-06-06 01:40:01 +0200 |
---|---|---|
committer | Joffrey Jaffeux <j.jaffeux@gmail.com> | 2012-06-07 20:00:12 +0200 |
commit | ba7f50bf6553e2f4a3b81da9d5c2c9811e4022c8 (patch) | |
tree | dd4476cb1a066112ad69a83c8cbff79fa2cb0d52 /system/libraries | |
parent | e6e6eff842ce4314b9ae7f1442579a1dba355e8d (diff) |
replace get_config by config_item
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Encrypt.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index 959e2eea8..ce5e030b0 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php @@ -104,8 +104,7 @@ class CI_Encrypt { return $this->encryption_key; } - $CI =& get_instance(); - $key = $CI->config->item('encryption_key'); + $key = config_item('encryption_key'); if ($key === FALSE) { |