From 9d64ae62bcbf245de9caa11885fa777fc37cfb9e Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 15 Jun 2023 19:39:41 +0200 Subject: Updated pages/api/schedule.php (automated) --- pages/api/schedule.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/api/schedule.php b/pages/api/schedule.php index 2c29bcb..7ae263c 100644 --- a/pages/api/schedule.php +++ b/pages/api/schedule.php @@ -11,6 +11,10 @@ $obj = [ "tomorrow" => [] ]; +if (time() >= 1686787200) { + die(json_encode($obj, JSON_PRETTY_PRINT)); +} + $raindrops = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/planner/gdapd.json"), true); $cloudburst = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/planner/ynmuc.json"), true); -- cgit