From 31fed783e82dd065c71b234ba08ece596a081f05 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sun, 17 Dec 2023 12:23:19 +0100 Subject: Updated 15 files and deleted 3 files (automated) --- pages/api/pleasure.php | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'pages/api/pleasure.php') diff --git a/pages/api/pleasure.php b/pages/api/pleasure.php index 58def71..7d331ce 100644 --- a/pages/api/pleasure.php +++ b/pages/api/pleasure.php @@ -1,6 +1,7 @@ [ 'method' => 'POST', 'header' => @@ -31,8 +40,12 @@ file_get_contents('https://' . $ntfy["server"] . '/pleasure', false, stream_cont "Priority: high\r\n" . "Tags: pleasure\r\n" . "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]), - 'content' => formatPonypush("[This is a test] Hey, $pony wants to play and have fun for a bit, get up!") + 'content' => formatPonypush("[This notification is a test] Hey, $pony wants to play and have fun with you, get up! [This notification is a test]") ] -])); +]); + +foreach ($channels as $channel) { + file_get_contents('https://' . $ntfy["server"] . '/' . $channel, false, $context); +} die(); \ No newline at end of file -- cgit