mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fix for Debian Bug#569677: egroupware-core: base configuration fails with php error if egroupware-emailadmin is not installed
This commit is contained in:
parent
df8581e1f6
commit
003d1c1c94
@ -43,7 +43,7 @@ function mail_server($settings)
|
|||||||
{
|
{
|
||||||
$GLOBALS['config_error'] = lang('Missing or uncomplete mailserver configuration');
|
$GLOBALS['config_error'] = lang('Missing or uncomplete mailserver configuration');
|
||||||
}
|
}
|
||||||
if (@file_exists('../emailadmin/inc/class.emailadmin_bo.inc.php') && $GLOBALS['egw_setup']->table_exist(array('egw_emailadmin')) || true)
|
if (@file_exists('../emailadmin/inc/class.emailadmin_bo.inc.php') && $GLOBALS['egw_setup']->table_exist(array('egw_emailadmin')))
|
||||||
{
|
{
|
||||||
$emailadmin = new emailadmin_bo(-1,false); // false=no session stuff
|
$emailadmin = new emailadmin_bo(-1,false); // false=no session stuff
|
||||||
if (is_object($emailadmin))
|
if (is_object($emailadmin))
|
||||||
|
Loading…
Reference in New Issue
Block a user