summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.php.example3
-rw-r--r--index.php2
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";
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) {
?>
<html>
<head>
-<title>Irn-Bru</title>
+<title><?php echo $logontitle ?></title>
<script type="text/javascript">
function formfocus() {
document.getElementById('password').focus();