add gethostname function to html title

Signed-off-by: 8633brown <toddbrown.8633@yahoo.co.uk>
This commit is contained in:
8633brown
2020-02-11 18:48:19 -07:00
parent 519e2771f1
commit 84f635296c

View File

@@ -176,7 +176,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' https://api.github.com; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'">
<title>Pi-hole Admin Console</title>
<title><?php echo gethostname() ?: "Pi-hole Admin Console" ?></title>
<!-- Usually browsers proactively perform domain name resolution on links that the user may choose to follow. We disable DNS prefetching here -->
<meta http-equiv="x-dns-prefetch-control" content="off">
<meta http-equiv="cache-control" content="max-age=60,private">