diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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']; |