Changed the location to a PHPGW_ constant.

This commit is contained in:
skeeter 2001-06-10 17:07:18 +00:00
parent 8f015c5087
commit 70173f91f1

View File

@ -16,7 +16,7 @@
$phpgw_info['flags']['currentapp'] = 'calendar'; $phpgw_info['flags']['currentapp'] = 'calendar';
include('../header.inc.php'); include('../header.inc.php');
$icsfile='/home/httpd/html/phpgroupware/calendar/inc/vcal1.ics'; $icsfile=PHPGW_APP_INC.'/vcal1.ics';
$fp=fopen($icsfile,'r'); $fp=fopen($icsfile,'r');
$contents = explode("\n",fread ($fp, filesize($icsfile))); $contents = explode("\n",fread ($fp, filesize($icsfile)));
fclose($fp); fclose($fp);