summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.php.example3
-rw-r--r--index.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/config.php.example b/config.php.example
index c792d6b..3d9abfa 100644
--- a/config.php.example
+++ b/config.php.example
@@ -12,4 +12,7 @@
# A file to be included at the top of the page
# For example an HTML form to upload files
$headerfile = "upload.html";
+
+ # An array of filenames to omit from the index
+ $indexignore = array();
?>
diff --git a/index.php b/index.php
index bd25914..b8eadfc 100644
--- a/index.php
+++ b/index.php
@@ -1,8 +1,6 @@
<?php
include('config.php');
-$indexignore = array();
-
if ($_POST && $pass) {
if ((hash("sha256", $_POST['password']) == $pass)) {
if (isset($_POST['rememberme'])) {