Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Arturo Montejo Ráez
/
wbt-web-app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
26b20583
authored
Mar 30, 2020
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
test
parent
52965bf1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
application/config/autoload.php
system/libraries/Session/drivers/Session_database_driver.php
application/config/autoload.php
View file @
26b20583
...
@@ -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
'
);
/*
/*
| -------------------------------------------------------------------
| -------------------------------------------------------------------
...
...
system/libraries/Session/drivers/Session_database_driver.php
View file @
26b20583
...
@@ -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'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment