commit | ac4f47283a6a8ce575f59c15c1a08ad3bc2efdd9 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Jun 02 11:16:32 2014 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Jun 02 11:16:32 2014 +0300 |
tree | 28b6b31fdc256a7b6b45f1fbc85da7efcb6b722d | |
parent | e1b9665567bbfc28bb13e5e41093901a8da99a0d [diff] [blame] |
#3073: BC workarounds for sess_use_database, sess_expire_on_close
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php index 518dc28..bdcde1e 100644 --- a/system/libraries/Session/Session.php +++ b/system/libraries/Session/Session.php
@@ -70,6 +70,11 @@ { $this->_driver = $driver; } + // Note: BC workaround + elseif (config_item('sess_use_database')) + { + $this->_driver = 'database'; + } if (($class = $this->_ci_load_classes($this->_driver)) === FALSE) {