forked from extern/egroupware
Using GLOBALS
This commit is contained in:
parent
07009748e5
commit
9b6465af7a
@ -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');
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user