Using GLOBALS

This commit is contained in:
Miles Lott 2001-08-30 19:40:44 +00:00
parent 07009748e5
commit 9b6465af7a

View File

@ -1,4 +1,7 @@
<?php
if (empty($phpgw_info['server']['auth_type'])){$phpgw_info['server']['auth_type'] = 'sql';}
include(PHPGW_API_INC.'/class.auth_'.$phpgw_info['server']['auth_type'].'.inc.php');
if (empty($GLOBALS['phpgw_info']['server']['auth_type']))
{
$GLOBALS['phpgw_info']['server']['auth_type'] = 'sql';
}
include(PHPGW_API_INC.'/class.auth_'.$GLOBALS['phpgw_info']['server']['auth_type'].'.inc.php');
?>