From ee66f2046089f2dce3d84185a3807f2711319d66 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sun, 22 Nov 2015 20:59:36 +0000 Subject: Allow for a configurable logon page title --- config.php.example | 3 +++ index.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config.php.example b/config.php.example index 4a457bd..e45ff35 100644 --- a/config.php.example +++ b/config.php.example @@ -9,6 +9,9 @@ # Set to null if you don't want the index to be password protected $pass = "ENTER PASSWORD HASH HERE"; + # The page title used on the logon page, (only displayed if a password is set above) + $logontitle = "Alice's private uploader"; + # A file to be included at the top of the page # For example an HTML form to upload files $headerfile = "upload.html"; diff --git a/index.php b/index.php index dd5026c..d518bbc 100644 --- a/index.php +++ b/index.php @@ -36,7 +36,7 @@ if ($_POST && $pass) { ?> -Irn-Bru +<?php echo $logontitle ?>