egroupware_official/phpgwapi/inc/class.accounts.inc.php

16 lines
517 B
PHP
Raw Normal View History

<?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');
include(PHPGW_API_INC . '/class.accounts_shared.inc.php');
2001-05-02 14:08:11 +02:00
?>