aboutsummaryrefslogtreecommitdiffstats
path: root/functions/ical_parser.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-08-07 06:36:49 +0000
committerChad Little <clittle@users.sourceforge.net>2004-08-07 06:36:49 +0000
commit3e34b9a428a0ba1ba1c3b2df28a33474518c05f1 (patch)
tree9b790f36d0565d1cda17656394db0881e1295ee2 /functions/ical_parser.php
parente7ee60b5cc75dac3b915b6a624e3ed92345c374a (diff)
downloadphpicalendar-3e34b9a428a0ba1ba1c3b2df28a33474518c05f1.tar.gz
phpicalendar-3e34b9a428a0ba1ba1c3b2df28a33474518c05f1.tar.bz2
phpicalendar-3e34b9a428a0ba1ba1c3b2df28a33474518c05f1.zip
Fixed error messages for 2.0
Diffstat (limited to 'functions/ical_parser.php')
-rw-r--r--functions/ical_parser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index 5decda8..47ff58a 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -100,9 +100,9 @@ foreach ($cal_filelist as $filename) {
if ($parse_file) {
$ifile = @fopen($filename, "r");
- if ($ifile == FALSE) exit(error($error_invalidcal_lang, $filename));
+ if ($ifile == FALSE) exit(error($lang['l_error_cantopen'], $filename));
$nextline = fgets($ifile, 1024);
- if (trim($nextline) != 'BEGIN:VCALENDAR') exit(error($error_invalidcal_lang, $filename));
+ if (trim($nextline) != 'BEGIN:VCALENDAR') exit(error($lang['l_error_invalidcal'], $filename));
//Mod time
if ($is_webcal == false) {

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