mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Fix for caching and ['apps'].
This commit is contained in:
parent
2ccd875cad
commit
f6c3126a54
@ -141,7 +141,7 @@
|
|||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($phpgw_info['server']['sessions_checkip'])
|
if (@$phpgw_info['server']['sessions_checkip'])
|
||||||
{
|
{
|
||||||
if (PHP_OS != 'Windows' && (! $phpgw_info['user']['session_ip'] || $phpgw_info['user']['session_ip'] != $this->getuser_ip()))
|
if (PHP_OS != 'Windows' && (! $phpgw_info['user']['session_ip'] || $phpgw_info['user']['session_ip'] != $this->getuser_ip()))
|
||||||
{
|
{
|
||||||
@ -351,6 +351,11 @@
|
|||||||
if(!empty($this->user))
|
if(!empty($this->user))
|
||||||
{
|
{
|
||||||
$phpgw->preferences->data = $this->user['preferences'];
|
$phpgw->preferences->data = $this->user['preferences'];
|
||||||
|
if (!isset($phpgw_info['apps']) ||
|
||||||
|
gettype($phpgw_info['apps']) != 'array')
|
||||||
|
{
|
||||||
|
$phpgw->applications->read_installed_apps();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user