mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-31 06:02:00 +01: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:
1 parent
da21a99873
commit
512740968f
1 file changed
+2
-1
@@ -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