From 18bf6c12b96e58b3ec8da6127fb68d6cb6f90465 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Sun, 21 Jun 2015 07:25:19 -0400
Subject: [PATCH] FS#3551 - Change title of web pages

---
 interface/web/index.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/interface/web/index.php b/interface/web/index.php
old mode 100644
new mode 100755
index 9838c24..bc8f1a3
--- a/interface/web/index.php
+++ b/interface/web/index.php
@@ -101,6 +101,10 @@
 $app->tpl->setVar('base64_logo_height', $logo_dimensions[1].'px');
 $app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
 
+// Title
+$server_config = $app->getconf->get_server_config(1, 'server');
+$app->tpl->setVar('server_name', $server_config['hostname']);
+
 $app->tpl_defaults();
 $app->tpl->pparse();
 ?>

--
Gitblit v1.9.1