From 5860551daa0f60103ad24e93da29f401a653f144 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 29 Mar 2024 22:05:35 +0100 Subject: Updated 20 files, added 6 files, deleted 144 files and renamed .idea/ponycule.iml (automated) --- pages/api/emergency-real.php | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 pages/api/emergency-real.php (limited to 'pages/api/emergency-real.php') diff --git a/pages/api/emergency-real.php b/pages/api/emergency-real.php deleted file mode 100644 index 04fd56e..0000000 --- a/pages/api/emergency-real.php +++ /dev/null @@ -1,37 +0,0 @@ - [ - 'method' => 'POST', - 'header' => - "Content-Type: text/plain\r\n" . - "Title: " . formatPonypush("⚠️ Emergency alert") . "\r\n" . - "Priority: urgent\r\n" . - "Tags: emergency\r\n" . - "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]), - 'content' => formatPonypush("This is an emergency, " . $_PROFILE['name'] . " is in need of immediate help. Please act now!") - ] -]); - -foreach ($channels as $channel) { - file_get_contents('https://' . $ntfy["server"] . '/' . $channel, false, $context); -} - -die(); \ No newline at end of file -- cgit