forked from extern/egroupware
Changed over to GLOBALS.
This commit is contained in:
parent
d0ed87c15a
commit
6bb89c4162
@ -13,13 +13,13 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
if (empty($phpgw_info['user']['preferences']['common']['country']))
|
if (empty($GLOBALS['phpgw_info']['user']['preferences']['common']['country']))
|
||||||
{
|
{
|
||||||
$rule = 'US';
|
$rule = 'US';
|
||||||
}
|
}
|
||||||
else
|
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';
|
$calc_include = PHPGW_INCLUDE_ROOT.'/calendar/inc/class.holidaycalc_'.$rule.'.inc.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user