summaryrefslogtreecommitdiff
path: root/api/raindrops-two.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-22 18:04:48 +0100
committerMinteck <contact@minteck.org>2023-02-22 18:04:48 +0100
commit1ff917767cca089a87f4e06a676c48ed132c2a73 (patch)
tree2e64d95f10d7b386b41757318e67f0463e7de99d /api/raindrops-two.php
parentbf2558253637537c2d57765e557bdc0e164c58ee (diff)
downloadpluralconnect-1ff917767cca089a87f4e06a676c48ed132c2a73.tar.gz
pluralconnect-1ff917767cca089a87f4e06a676c48ed132c2a73.tar.bz2
pluralconnect-1ff917767cca089a87f4e06a676c48ed132c2a73.zip
Added 2 files (automated)
Diffstat (limited to 'api/raindrops-two.php')
-rw-r--r--api/raindrops-two.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/raindrops-two.php b/api/raindrops-two.php
new file mode 100644
index 0000000..2fa09f2
--- /dev/null
+++ b/api/raindrops-two.php
@@ -0,0 +1,8 @@
+<?php
+
+header("Content-Type: text/plain");
+
+$fronters = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/gdapd/fronters.json"), true);
+echo(json_encode([
+ "multiple" => count($fronters["members"]) > 1
+])); \ No newline at end of file