diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-08-05 16:54:04 +0100 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-08-05 16:54:04 +0100 |
commit | ed7db8b14814abf78e81ca4ed1150d931125cb7e (patch) | |
tree | 2c50b67b2d04a7f577c5430d239254f23be2366d | |
parent | 6e40e841bcf21fb80bd8432baeaf8def494e8af6 (diff) |
Use the correct server hostname and port
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") { |