summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2014-08-05 16:54:04 +0100
committerLuke Bratch <l_bratch@yahoo.co.uk>2014-08-05 16:54:04 +0100
commited7db8b14814abf78e81ca4ed1150d931125cb7e (patch)
tree2c50b67b2d04a7f577c5430d239254f23be2366d
parent6e40e841bcf21fb80bd8432baeaf8def494e8af6 (diff)
Use the correct server hostname and port
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 982685e..5c947ac 100644
--- a/index.php
+++ b/index.php
@@ -300,7 +300,7 @@ for ($i = 0; $i < count($listing); $i++) {
?>
<hr></pre>
-<address>Apache Server at www.blaupload.co.uk Port 80</address>
+<?php echo "<address>Apache Server at " . $_SERVER['SERVER_NAME'] . " Port " . $_SERVER['SERVER_PORT'] . "</address>"; ?>
</body></html>
<?php
} else if ($_GET['format'] == "json") {