aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-06-29 23:55:54 -0400
committerThedro Neely <thedroneely@gmail.com>2019-06-29 23:55:54 -0400
commita12507930af5e19ac106fa9d0617b752b45ab5d9 (patch)
tree4304c9b6b2c9efe8830ce41450cae766b76b0549
parent62d023780675c4096a8c73c78eec06fa8cbd3b15 (diff)
downloadedwinmattiacci.com-a12507930af5e19ac106fa9d0617b752b45ab5d9.tar.gz
edwinmattiacci.com-a12507930af5e19ac106fa9d0617b752b45ab5d9.tar.bz2
edwinmattiacci.com-a12507930af5e19ac106fa9d0617b752b45ab5d9.zip
comments/backend/classes/secrets: Use skeleton file
-rw-r--r--.gitignore1
-rw-r--r--bootstrap/comments/backend/classes/secrets.php41
2 files changed, 41 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index cb6a427..03163af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,5 +4,4 @@
/public/error/error.json
/public/error/error.html
/bootstrap/comments/comments
-/bootstrap/comments/backend/classes/secrets.php
AppConfig.php
diff --git a/bootstrap/comments/backend/classes/secrets.php b/bootstrap/comments/backend/classes/secrets.php
new file mode 100644
index 0000000..f584034
--- /dev/null
+++ b/bootstrap/comments/backend/classes/secrets.php
@@ -0,0 +1,41 @@
+<?php namespace HashOver;
+
+// Copyright (C) 2010-2018 Jacob Barkdull
+// This file is part of HashOver.
+//
+// I, Jacob Barkdull, hereby release this work into the public domain.
+// This applies worldwide. If this is not legally possible, I grant any
+// entity the right to use this work for any purpose, without any
+// conditions, unless such conditions are required by law.
+//
+//--------------------
+//
+// IMPORTANT NOTICE:
+//
+// To retain your settings and maintain proper functionality, when
+// downloading or otherwise upgrading to a new version of HashOver it
+// is important that you preserve this file, unless directed otherwise.
+//
+// It is also important to choose UNIQUE values for the encryption key,
+// admin name, and admin password, as not doing so puts HashOver at
+// risk of being hijacked. Allowing someone to delete comments and/or
+// edit existing comments to post spam, impersonate you or your
+// visitors in order to push some sort of agenda/propaganda, to defame
+// you or your visitors, or to imply endorsement of some product(s),
+// service(s), and/or political ideology.
+
+
+class Secrets
+{
+ // E-mail for notification of new comments
+ public $notificationEmail = 'email_username';
+
+ // Unique encryption key (case-sensitive)
+ protected $encryptionKey = 'hashover_key';
+
+ // Login name to gain admin rights (case-sensitive)
+ protected $adminName = 'hashover_admin';
+
+ // Login password to gain admin rights (case-sensitive)
+ protected $adminPassword = 'hashover_password';
+}