Fixed a broken file path reference in cal.php

This commit is contained in:
2025-07-08 10:56:08 +10:00
parent bffff0c9d5
commit db327a7a27

View File

@@ -10,7 +10,7 @@ header('Content-Disposition: inline; filename=calendar.ics');
date_default_timezone_set('Australia/Brisbane');
// Read and parse the JSON file
$json = file_get_contents('events.json');
$json = file_get_contents('dat/events.json');
$events = json_decode($json, true);
// Start of the iCalendar content