From 6688da2402d8c437eb472145fb899d0f513c3820 Mon Sep 17 00:00:00 2001 From: dmorley Date: Sat, 19 Dec 2015 04:08:51 -0800 Subject: [PATCH] add a lil comment to why removed --- cleanup.php | 1 + db/config.php.example | 2 +- db/kill.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cleanup.php b/cleanup.php index fa791e6..da3c5cb 100644 --- a/cleanup.php +++ b/cleanup.php @@ -107,6 +107,7 @@ echo "✪"; ?>
+ " type="hidden"> " type="hidden"> diff --git a/db/config.php.example b/db/config.php.example index 4c40d2d..5b9ef70 100644 --- a/db/config.php.example +++ b/db/config.php.example @@ -12,7 +12,7 @@ $pgpass=''; $pgdb=''; //admin email for forms $adminemail = ''; -//admin key for admin ratings +//admin key for deleting pods, set this as a cookie on your own $adminkey = ''; //mailchimp key $chimpkey = ''; diff --git a/db/kill.php b/db/kill.php index 3ec9016..a5073db 100644 --- a/db/kill.php +++ b/db/kill.php @@ -32,7 +32,7 @@ echo "admin key fail";die; if ($row["email"]) { $to = $row["email"]; $subject = "Pod deleted from poduptime "; - $message = "Pod " . $_POST["domain"] . " was deleted from podupti.me as it was dead on the list. Feel free to add back at any time. \n\n"; + $message = "Pod " . $_POST["domain"] . " was deleted from podupti.me as it was dead on the list. " . $_POST["comments"] . " Feel free to add back at any time. \n\n"; $headers = "From: support@diasp.org\r\nCc:support@diasp.org,". $row["email"] ."\r\n"; @mail( $to, $subject, $message, $headers ); } -- GitLab