aboutsummaryrefslogtreecommitdiffstats
path: root/functions/parse/parse_tzs.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2009-04-08 04:42:59 +0000
committerJim Hu <jimhu@users.sourceforge.net>2009-04-08 04:42:59 +0000
commitef85825abc5bd774e3554a6533fc9241ba0eac8e (patch)
treee58df16e6d1966a0bcf775a6d046cbdd3aba76fa /functions/parse/parse_tzs.php
parentf6da67d1980df72e6442f6014012a88103e100ba (diff)
downloadphpicalendar-ef85825abc5bd774e3554a6533fc9241ba0eac8e.tar.gz
phpicalendar-ef85825abc5bd774e3554a6533fc9241ba0eac8e.tar.bz2
phpicalendar-ef85825abc5bd774e3554a6533fc9241ba0eac8e.zip
autoincrement sequence if it is missing
Diffstat (limited to 'functions/parse/parse_tzs.php')
-rw-r--r--functions/parse/parse_tzs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/parse/parse_tzs.php b/functions/parse/parse_tzs.php
index fb250b2..4769d69 100644
--- a/functions/parse/parse_tzs.php
+++ b/functions/parse/parse_tzs.php
@@ -2,7 +2,7 @@
$ifile = @fopen($filename, "r");
if ($ifile == FALSE) exit(error($lang['l_error_cantopen'], $filename));
$nextline = fgets($ifile);
-if (trim($nextline) != 'BEGIN:VCALENDAR') exit(error($lang['l_error_invalidcal'], $filename));
+#if (trim($nextline) != 'BEGIN:VCALENDAR') exit(error($lang['l_error_invalidcal'], $filename));
// read file in line by line
// XXX end line is skipped because of the 1-line readahead

© 2014-2024 Faster IT GmbH | imprint | privacy policy