disable UCS support, as we currently have no way to know we are running on UCS (inside our open_basedir)

This commit is contained in:
Ralf Becker 2020-11-23 21:10:32 +01:00
parent 522fca6344
commit 7ed677dd3e

View File

@ -58,11 +58,11 @@ if (!$from && !($from = $GLOBALS['egw_info']['server']['auth_type']))
} }
$to = $from == 'sql' ? 'ldap' : 'sql'; $to = $from == 'sql' ? 'ldap' : 'sql';
// for Univention: cant check /etc/lsb-release, because it's not in open_basedir! /* ToDo: Api\Accounts\Univention::available() no longer exists, nothing inside open_basedir let us detect we running on UCS
if ($to == 'ldap' && Api\Accounts\Univention::available()) if ($to == 'ldap' && Api\Accounts\Univention::available())
{ {
$to = 'univention'; $to = 'univention';
} }*/
$direction = strtoupper($from).' --> '.strtoupper($to); $direction = strtoupper($from).' --> '.strtoupper($to);
$GLOBALS['egw_setup']->html->show_header($direction,False,'config',$GLOBALS['egw_setup']->ConfigDomain . $GLOBALS['egw_setup']->html->show_header($direction,False,'config',$GLOBALS['egw_setup']->ConfigDomain .