forked from extern/egroupware
GLOBALS...
This commit is contained in:
parent
e436c522c1
commit
121e9072fc
@ -1,15 +1,15 @@
|
||||
<?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
|
||||
{
|
||||
$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');
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user