Changeset 3914 for branches/2.2/calendar/inc/class.boholiday.inc.php
- Timestamp:
- 03/25/11 13:47:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/calendar/inc/class.boholiday.inc.php
r2 r3914 256 256 } 257 257 // echo 'Loading from: '.$load_from.'/holidays.'.strtoupper($locale).'.csv'."<br>\n"; 258 $lines = $network->gethttpsocketfile($load_from.'/holidays.'.strtoupper($locale).'.csv'); 258 if(isset($GLOBALS['phpgw_info']['server']['holidays_url_path']) && $GLOBALS['phpgw_info']['server']['holidays_url_path'] != 'localhost') 259 { 260 $lines = $network->gethttpsocketfile($load_from.'/holidays.'.strtoupper($locale).'.csv'); 261 } 262 else 263 { 264 $lines = explode(chr(0x0A),file_get_contents($load_from.'/holidays.'.strtoupper($locale).'.csv')); 265 } 259 266 if (!$lines) 260 267 {
Note: See TracChangeset
for help on using the changeset viewer.