Changed over to GLOBALS.

This commit is contained in:
skeeter 2001-08-26 12:32:28 +00:00
parent d0ed87c15a
commit 6bb89c4162

View File

@ -13,13 +13,13 @@
/* $Id$ */
if (empty($phpgw_info['user']['preferences']['common']['country']))
if (empty($GLOBALS['phpgw_info']['user']['preferences']['common']['country']))
{
$rule = 'US';
}
else
{
$rule = $phpgw_info['user']['preferences']['common']['country'];
$rule = $GLOBALS['phpgw_info']['user']['preferences']['common']['country'];
}
$calc_include = PHPGW_INCLUDE_ROOT.'/calendar/inc/class.holidaycalc_'.$rule.'.inc.php';