diff options
author | dchill42 <dchill42@gmail.com> | 2012-07-23 17:28:42 +0200 |
---|---|---|
committer | dchill42 <dchill42@gmail.com> | 2012-07-23 17:28:42 +0200 |
commit | 42b77a9a1a5d4ec7ceb94b421b12af9c442769ba (patch) | |
tree | 223f32b7b0cf8820f7815f542615f2705e2c9f2b /system/libraries/Session/Session.php | |
parent | c5079de78e5141330c07e990811ef15e998e95aa (diff) |
Made cookie driver default and did miniscule code cleanup on drivers
Diffstat (limited to 'system/libraries/Session/Session.php')
-rwxr-xr-x | 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 94fb4b10a..474ca9c7a 100755 --- a/system/libraries/Session/Session.php +++ b/system/libraries/Session/Session.php @@ -84,7 +84,7 @@ class CI_Session extends CI_Driver_Library { // Get driver to load $key = 'sess_driver'; $driver = (isset($params[$key])) ? $params[$key] : $CI->config->item($key); - if (!$driver) $driver = 'native'; + if (!$driver) $driver = 'cookie'; if (!in_array('session_'.strtolower($driver), array_map('strtolower', $this->valid_drivers))) { $this->valid_drivers[] = 'Session_'.$driver; |