test

parent 52965bf1
...@@ -79,7 +79,7 @@ $autoload['libraries'] = array('database', 'session', 'form_validation'); ...@@ -79,7 +79,7 @@ $autoload['libraries'] = array('database', 'session', 'form_validation');
| $autoload['drivers'] = array('cache' => 'cch'); | $autoload['drivers'] = array('cache' => 'cch');
| |
*/ */
$autoload['drivers'] = array('session'); $autoload['drivers'] = array('session_database');
/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
......
...@@ -163,8 +163,7 @@ class CI_Session_database_driver extends CI_Session_driver implements SessionHan ...@@ -163,8 +163,7 @@ class CI_Session_database_driver extends CI_Session_driver implements SessionHan
$this->_db $this->_db
->select('data') ->select('data')
// ->from($this->_config['save_path']) ->from($this->_config['save_path'])
->from('ci_sessions')
->where('id', $session_id); ->where('id', $session_id);
if ($this->_config['match_ip']) if ($this->_config['match_ip'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment