summaryrefslogtreecommitdiff
path: root/includes/luna.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:29 +0100
commit953ddd82e48dd206cef5ac94456549aed13b3ad5 (patch)
tree8f003106ee2e7f422e5a22d2ee04d0db302e66c0 /includes/luna.php
parent62a9199846b0c07c03218703b33e8385764f42d9 (diff)
downloadpluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.gz
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.tar.bz2
pluralconnect-953ddd82e48dd206cef5ac94456549aed13b3ad5.zip
Updated 30 files and deleted 2976 files (automated)
Diffstat (limited to 'includes/luna.php')
-rw-r--r--includes/luna.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/includes/luna.php b/includes/luna.php
deleted file mode 100644
index 7b6254e..0000000
--- a/includes/luna.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-if (time() >= 1688169600) die();
-
-require_once './composer/vendor/autoload.php';
-$_SERVER['DOCUMENT_ROOT'] = "..";
-require_once './util/functions.inc';
-
-$app = json_decode(file_get_contents("./app.json"), true);
-$ntfy = $app["ntfy"];
-
-file_get_contents('https://' . $ntfy["server"] . '/' . $ntfy["topic"], false, stream_context_create([
- 'http' => [
- 'method' => 'POST',
- 'header' =>
- "Content-Type: text/plain\r\n" .
- "Title: " . formatPonypush("⚠️ Luna is out of support") . "\r\n" .
- "Tags: reminder\r\n" .
- "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]),
- 'content' => formatPonypush("Luna is now out of support on Windows, Linux, macOS, Chrome OS and Android. It is recommended that you uninstall the application before the servers are disabled on July 1st.")
- ]
-])); \ No newline at end of file