mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
small modification: we can now store any information in sessions
(cf topic:5667) git-svn-id: http://piwigo.org/svn/trunk@1032 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -154,7 +154,8 @@ SELECT id
|
||||
{
|
||||
$query = '
|
||||
UPDATE '.SESSIONS_TABLE.'
|
||||
SET expiration = now()
|
||||
SET expiration = now(),
|
||||
data = \''.$data.'\'
|
||||
WHERE id = \''.$session_id.'\'
|
||||
;';
|
||||
pwg_query($query);
|
||||
|
||||
Reference in New Issue
Block a user