diff options
author | Andrey Andreev <narf@devilix.net> | 2015-02-07 18:30:30 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-02-07 18:30:30 +0100 |
commit | 789b1fe3e78f59cdb35ac5e6cf7166f6b97436c7 (patch) | |
tree | 43a64b6b9fd29d7934f4bd423a2fe7e13b791574 /system/libraries | |
parent | cb28c896fe883a373a906d5c6ef8c71c0b2ae999 (diff) |
Add 'sess_regenerate_destroy' setting
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Session/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php index ba1919b44..de9b1e829 100644 --- a/system/libraries/Session/Session.php +++ b/system/libraries/Session/Session.php @@ -153,7 +153,7 @@ class CI_Session { } elseif ($_SESSION['__ci_last_regenerate'] < (time() - $regenerate_time)) { - $this->sess_regenerate(FALSE); + $this->sess_regenerate((bool) config_item('sess_regenerate_destroy')); } } // Another work-around ... PHP doesn't seem to send the session cookie |