summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-08 14:45:57 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-08 14:45:57 +0200
commit1be495483749c661f785cdef574ac84b2176d43a (patch)
treec1155f0690a61df3ed65ee837765a13b35a4b3da /system/libraries
parent9637b40ca9e9ac1cdce2b895d3db09848a6eef76 (diff)
parentbb2da6fafaab754aee3e6745bf23db52e3aed57d (diff)
Merge pull request #1433 from jjaffeux/test-encryption-class
Test encryption class
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Encrypt.php3
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)
{