summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-06-15 19:39:41 +0200
committerRaindropsSys <contact@minteck.org>2023-06-15 19:39:41 +0200
commit9d64ae62bcbf245de9caa11885fa777fc37cfb9e (patch)
treea41436a7299de4c4445927558cd9a75a501b62ef /pages
parente5383a35a842d58611af99b58e072b7c3bd8294b (diff)
downloadpluralconnect-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.php4
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);