commit | 36e644241623461d6ac9531bdc5a61ee40b28be4 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sun Oct 22 01:30:50 2006 +0000 |
committer | admin <devnull@localhost> | Sun Oct 22 01:30:50 2006 +0000 |
tree | d1f5573a2f5505687417f60c9cce85f5baf23232 | |
parent | e334c472fb4be44feec3a73402fc4a2b062cbfc0 [diff] [blame] |
diff --git a/system/libraries/Session.php b/system/libraries/Session.php index 96a0c43..c1fc345 100644 --- a/system/libraries/Session.php +++ b/system/libraries/Session.php
@@ -110,8 +110,10 @@ } } - // Do we need encryption? - if ($this->CI->config->item('sess_encrypt_cookie') == TRUE) + // Do we need encryption? + $this->encryption = $this->CI->config->item('sess_encrypt_cookie'); + + if ($this->encryption == TRUE) { $this->CI->load->library('encrypt'); }