diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-09-21 12:13:01 +0100 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-09-21 12:13:01 +0100 |
commit | da26cf10caecd4ec2d1b9399731933d10f0c5c07 (patch) | |
tree | bad01f74fec301323f2cd103dc39cb9dd968aff9 | |
parent | ce4dcd942953471e8ba3413c019eedc9c557042d (diff) |
Move missing configuration option to example configuration
-rw-r--r-- | config.php.example | 3 | ||||
-rw-r--r-- | index.php | 2 |
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(); ?> @@ -1,8 +1,6 @@ <?php include('config.php'); -$indexignore = array(); - if ($_POST && $pass) { if ((hash("sha256", $_POST['password']) == $pass)) { if (isset($_POST['rememberme'])) { |