summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.php b/index.php
index d234a50..42515eb 100644
--- a/index.php
+++ b/index.php
@@ -1,5 +1,6 @@
<?php
$pass = 'REPLACE THIS WITH A SHA256 HASH OR SET VARIABLE TO NULL';
+$indexignore = array();
if ($_POST && $pass) {
if ((hash("sha256", $_POST['password']) == $pass)) {
@@ -134,6 +135,11 @@ while ($this_array = each($new_array)){
$value = $this_array['value'];
$key = $this_array['key'];
+ // Drop if on index ignore list
+ if (in_array($value, $indexignore)) {
+ continue;
+ }
+
// Drop if outside (optional) date range
if (isset($_GET['from'])) {
$from = $_GET['from'];