mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 23:09:13 +01:00
make session working again
This commit is contained in:
parent
f50b8cc6fe
commit
1f844318f6
@ -366,7 +366,9 @@
|
||||
// I added these into seperate steps for easier debugging
|
||||
$data = $phpgw->db->f('content');
|
||||
$data = $phpgw->crypto->decrypt($data);
|
||||
$data = stripslashes($data);
|
||||
# this is to much!! knecke
|
||||
# please talk with me if you add it again
|
||||
#$data = stripslashes($data);
|
||||
|
||||
return $data;
|
||||
} else {
|
||||
@ -401,8 +403,10 @@
|
||||
{
|
||||
global $phpgw;
|
||||
|
||||
$serializedData = $this->appsession();
|
||||
$serializedData = $this->appsession('session');
|
||||
#print "serializedData<br>$serializedData<br><br>";
|
||||
$sessionData = unserialize($serializedData);
|
||||
#print "sessionData<br>$sessionData<br><br>";
|
||||
|
||||
if (is_array($sessionData))
|
||||
{
|
||||
@ -431,6 +435,7 @@
|
||||
{
|
||||
global $$key;
|
||||
$sessionData[$key] = $$key;
|
||||
#print "save: ".$key." : ".$$key."<br>";
|
||||
}
|
||||
}
|
||||
$this->appsession('session','',$sessionData);
|
||||
|
Loading…
Reference in New Issue
Block a user