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