2001-02-06 21:13:06 +01:00
|
|
|
<?php
|
2001-09-23 21:08:44 +02:00
|
|
|
if (empty($GLOBALS['phpgw_info']['server']['account_repository']))
|
2001-05-02 14:08:11 +02:00
|
|
|
{
|
2001-09-23 21:08:44 +02:00
|
|
|
if (!empty($GLOBALS['phpgw_info']['server']['auth_type']))
|
2001-05-02 14:08:11 +02:00
|
|
|
{
|
2001-09-23 21:08:44 +02:00
|
|
|
$GLOBALS['phpgw_info']['server']['account_repository'] = $GLOBALS['phpgw_info']['server']['auth_type'];
|
2001-05-02 14:08:11 +02:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2001-09-23 21:08:44 +02:00
|
|
|
$GLOBALS['phpgw_info']['server']['account_repository'] = 'sql';
|
2001-05-02 14:08:11 +02:00
|
|
|
}
|
|
|
|
}
|
2001-09-23 21:08:44 +02:00
|
|
|
include(PHPGW_API_INC . '/class.accounts_' . $GLOBALS['phpgw_info']['server']['account_repository'] . '.inc.php');
|
2001-06-27 01:16:18 +02:00
|
|
|
include(PHPGW_API_INC . '/class.accounts_shared.inc.php');
|
2001-05-02 14:08:11 +02:00
|
|
|
?>
|