forked from extern/egroupware
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
|
// I added these into seperate steps for easier debugging
|
||||||
$data = $phpgw->db->f('content');
|
$data = $phpgw->db->f('content');
|
||||||
$data = $phpgw->crypto->decrypt($data);
|
$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;
|
return $data;
|
||||||
} else {
|
} else {
|
||||||
@ -401,8 +403,10 @@
|
|||||||
{
|
{
|
||||||
global $phpgw;
|
global $phpgw;
|
||||||
|
|
||||||
$serializedData = $this->appsession();
|
$serializedData = $this->appsession('session');
|
||||||
|
#print "serializedData<br>$serializedData<br><br>";
|
||||||
$sessionData = unserialize($serializedData);
|
$sessionData = unserialize($serializedData);
|
||||||
|
#print "sessionData<br>$sessionData<br><br>";
|
||||||
|
|
||||||
if (is_array($sessionData))
|
if (is_array($sessionData))
|
||||||
{
|
{
|
||||||
@ -431,6 +435,7 @@
|
|||||||
{
|
{
|
||||||
global $$key;
|
global $$key;
|
||||||
$sessionData[$key] = $$key;
|
$sessionData[$key] = $$key;
|
||||||
|
#print "save: ".$key." : ".$$key."<br>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->appsession('session','',$sessionData);
|
$this->appsession('session','',$sessionData);
|
||||||
|
Loading…
Reference in New Issue
Block a user