mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-04-16 12:08:24 +02:00
GLOBALS...
This commit is contained in:
parent
e436c522c1
commit
121e9072fc
@ -1,15 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
if (empty($phpgw_info['server']['account_repository']))
|
if (empty($GLOBALS['phpgw_info']['server']['account_repository']))
|
||||||
{
|
{
|
||||||
if (!empty($phpgw_info['server']['auth_type']))
|
if (!empty($GLOBALS['phpgw_info']['server']['auth_type']))
|
||||||
{
|
{
|
||||||
$phpgw_info['server']['account_repository'] = $phpgw_info['server']['auth_type'];
|
$GLOBALS['phpgw_info']['server']['account_repository'] = $GLOBALS['phpgw_info']['server']['auth_type'];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$phpgw_info['server']['account_repository'] = 'sql';
|
$GLOBALS['phpgw_info']['server']['account_repository'] = 'sql';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
include(PHPGW_API_INC . '/class.accounts_' . $phpgw_info['server']['account_repository'] . '.inc.php');
|
include(PHPGW_API_INC . '/class.accounts_' . $GLOBALS['phpgw_info']['server']['account_repository'] . '.inc.php');
|
||||||
include(PHPGW_API_INC . '/class.accounts_shared.inc.php');
|
include(PHPGW_API_INC . '/class.accounts_shared.inc.php');
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user