diff --git a/agents/toplevel/HtmlAgent.inc b/agents/toplevel/HtmlAgent.inc index 049ba904..bedcf848 100644 --- a/agents/toplevel/HtmlAgent.inc +++ b/agents/toplevel/HtmlAgent.inc @@ -50,7 +50,7 @@ private function setLanguage(\nre\core\Request $request) { // Set domain - $domain = \nre\configs\AppConfig::$app['name']; + $domain = \nre\configs\AppConfig::$app['genericname']; // Get language $locale = $request->getGetParam('lang', 'language'); diff --git a/configs/AppConfig.inc b/configs/AppConfig.inc index 6d08a01f..04245f68 100644 --- a/configs/AppConfig.inc +++ b/configs/AppConfig.inc @@ -30,7 +30,8 @@ * @var array */ public static $app = array( - 'name' => 'The Legend of Z', + 'name' => 'Questlab', + 'genericname' => 'The Legend of Z', 'namespace' => 'hhu\\z\\', 'timeZone' => 'Europe/Berlin', 'mailsender' => 'noreply@zyren.inf-d.de' diff --git a/views/fault/fault.tpl b/views/fault/fault.tpl index 307b772d..a6459f96 100644 --- a/views/fault/fault.tpl +++ b/views/fault/fault.tpl @@ -3,11 +3,11 @@
-Access denied.
diff --git a/www/error404.html b/www/error404.html index 874106f4..748077aa 100644 --- a/www/error404.html +++ b/www/error404.html @@ -3,11 +3,11 @@ -Not found.
diff --git a/www/error500.html b/www/error500.html index b7afa5c0..5528716b 100644 --- a/www/error500.html +++ b/www/error500.html @@ -3,11 +3,11 @@ -Internal server error.