Fixed a broken file path reference in cal.php
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user