summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session.php
diff options
context:
space:
mode:
authorChristopher Guiney <chris@guiney.net>2012-06-29 06:53:12 +0200
committerChristopher Guiney <chris@guiney.net>2012-06-29 06:53:12 +0200
commit68b9b822b674e9f98025165a9391110a33f1b094 (patch)
tree5041531ee915f90e4f3065b6e3bed2695cfd139d /system/libraries/Session.php
parent7db0f597c78cd5485b566d9cd6e3935a8489c540 (diff)
Allow session garbace collection percentage to be configured.
Diffstat (limited to 'system/libraries/Session.php')
-rw-r--r--system/libraries/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php
index 72a942b8a..4e5e256a1 100644
--- a/system/libraries/Session.php
+++ b/system/libraries/Session.php
@@ -201,7 +201,7 @@ class CI_Session {
// Set all the session preferences, which can either be set
// manually via the $params array above or via the config file
- foreach (array('sess_encrypt_cookie', 'sess_use_database', 'sess_table_name', 'sess_expiration', 'sess_expire_on_close', 'sess_match_ip', 'sess_match_useragent', 'sess_cookie_name', 'cookie_path', 'cookie_domain', 'cookie_secure', 'cookie_httponly', 'sess_time_to_update', 'time_reference', 'cookie_prefix', 'encryption_key') as $key)
+ foreach (array('sess_encrypt_cookie', 'sess_use_database', 'sess_table_name', 'sess_expiration', 'sess_expire_on_close', 'sess_match_ip', 'sess_match_useragent', 'sess_cookie_name', 'cookie_path', 'cookie_domain', 'cookie_secure', 'cookie_httponly', 'sess_time_to_update', 'time_reference', 'cookie_prefix', 'encryption_key', 'gc_probability') as $key)
{
$this->$key = isset($params[$key]) ? $params[$key] : $this->CI->config->item($key);
}