diff options
Diffstat (limited to 'includes/refresh.php')
-rw-r--r-- | includes/refresh.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/refresh.php b/includes/refresh.php index c4eac83..922e708 100644 --- a/includes/refresh.php +++ b/includes/refresh.php @@ -243,6 +243,10 @@ if (isset($app["other"]) && isset($app["other"]["id"]) && isset($app["other"]["t getSystem($app["other"]["id"], "other", $app["other"]["token"]); } +if (!is_link($_SERVER['DOCUMENT_ROOT'] . "/includes/data/" . $app["other"]["id"])) { + link($_SERVER['DOCUMENT_ROOT'] . "/includes/data/other", $_SERVER['DOCUMENT_ROOT'] . "/includes/data/" . $app["other"]["id"]); +} + echo("Calendar\n"); $currentOpStart = microtime(true); file_put_contents("./data/calendar/calendar.ics", file_get_contents($app["calendar"])); |