summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-22 03:30:50 +0200
committeradmin <devnull@localhost>2006-10-22 03:30:50 +0200
commit36e644241623461d6ac9531bdc5a61ee40b28be4 (patch)
treed1f5573a2f5505687417f60c9cce85f5baf23232 /system/libraries
parente334c472fb4be44feec3a73402fc4a2b062cbfc0 (diff)
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Session.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php
index 96a0c43b2..c1fc345d9 100644
--- a/system/libraries/Session.php
+++ b/system/libraries/Session.php
@@ -110,8 +110,10 @@ class CI_Session {
}
}
- // 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');
}