diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-15 19:39:41 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-15 19:39:41 +0200 |
commit | 9d64ae62bcbf245de9caa11885fa777fc37cfb9e (patch) | |
tree | a41436a7299de4c4445927558cd9a75a501b62ef /pages | |
parent | e5383a35a842d58611af99b58e072b7c3bd8294b (diff) | |
download | pluralconnect-9d64ae62bcbf245de9caa11885fa777fc37cfb9e.tar.gz pluralconnect-9d64ae62bcbf245de9caa11885fa777fc37cfb9e.tar.bz2 pluralconnect-9d64ae62bcbf245de9caa11885fa777fc37cfb9e.zip |
Updated pages/api/schedule.php (automated)
Diffstat (limited to 'pages')
-rw-r--r-- | pages/api/schedule.php | 4 |
1 files changed, 4 insertions, 0 deletions
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); |