aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/config.php.dist2
-rw-r--r--www/www-header.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/data/config.php.dist b/data/config.php.dist
index 9170a9f..5c095ca 100644
--- a/data/config.php.dist
+++ b/data/config.php.dist
@@ -1,5 +1,7 @@
<?php
$GLOBALS['phinde'] = array(
+ //name of the app in the frontend
+ 'apptitle' => 'website search',
'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
//whitelist of domains that shall be crawled
'domains' => array(
diff --git a/www/www-header.php b/www/www-header.php
index e7c4542..070c391 100644
--- a/www/www-header.php
+++ b/www/www-header.php
@@ -26,7 +26,7 @@ function render($tplname, $vars = array(), $return = false)
if (!isset($vars['htmlhelper'])) {
//$vars['htmlhelper'] = new HtmlHelper();
}
- $vars['apptitle'] = 'cweiske.de search';
+ $vars['apptitle'] = $GLOBALS['phinde']['apptitle'];
$vars['baseUrl'] = '/';
$template = $GLOBALS['twig']->loadTemplate($tplname . '.htm');