mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fix for caching and ['apps'].
This commit is contained in:
parent
2ccd875cad
commit
f6c3126a54
@ -141,7 +141,7 @@
|
||||
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()))
|
||||
{
|
||||
@ -351,6 +351,11 @@
|
||||
if(!empty($this->user))
|
||||
{
|
||||
$phpgw->preferences->data = $this->user['preferences'];
|
||||
if (!isset($phpgw_info['apps']) ||
|
||||
gettype($phpgw_info['apps']) != 'array')
|
||||
{
|
||||
$phpgw->applications->read_installed_apps();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user