diff options
author | Luke Bratch <luke@bratch.co.uk> | 2015-11-22 20:59:36 +0000 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2015-11-22 20:59:36 +0000 |
commit | ee66f2046089f2dce3d84185a3807f2711319d66 (patch) | |
tree | 7e4f4f836780d70b665bce1043049b0f703d6b08 | |
parent | ff74d82b3399ab6b559fc9d2d8aba1695973c6b4 (diff) |
Allow for a configurable logon page title
-rw-r--r-- | config.php.example | 3 | ||||
-rw-r--r-- | index.php | 2 |
2 files changed, 4 insertions, 1 deletions
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"; @@ -36,7 +36,7 @@ if ($_POST && $pass) { ?> <html> <head> -<title>Irn-Bru</title> +<title><?php echo $logontitle ?></title> <script type="text/javascript"> function formfocus() { document.getElementById('password').focus(); |