mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fixed bug reported on the user list: Warning wrong data type in line 184, added ldap extension check as it seems for many a surprise that ldap/ads auth needs it ;-)
This commit is contained in:
parent
9e91aafcc7
commit
0abbc55c49
@ -142,6 +142,10 @@
|
||||
'func' => 'extension_check',
|
||||
'warning' => lang('The session extension is needed to use php sessions (db-sessions work without).')
|
||||
),
|
||||
'ldap' => array(
|
||||
'func' => 'extension_check',
|
||||
'warning' => lang("The ldap extension is needed, if you use ldap as account or contact storage, authenticate against ldap or active directory. It's not needed for a standard SQL installation."),
|
||||
),
|
||||
'.' => array(
|
||||
'func' => 'permission_check',
|
||||
'is_world_writable' => False,
|
||||
@ -181,6 +185,7 @@
|
||||
$checks[$name]['from'] = array($checks[$name]['from']);
|
||||
}
|
||||
if (!isset($data['from'])) $data['from'] = $app;
|
||||
if (!isset($checks[$name]['from']) || !is_array($checks[$name]['from'])) $checks[$name]['from'] = array();
|
||||
if (!in_array($data['from'],$checks[$name]['from'])) $checks[$name]['from'][] = $data['from'];
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user