summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 563c225..ed2cdc9 100644
--- a/index.php
+++ b/index.php
@@ -306,7 +306,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") {