Commit c5ceae23 authored by Helmo's avatar Helmo

Load the company name to show in the HTML title tag, fixes #5864

parent 2e4e4488
......@@ -179,7 +179,10 @@ $app->tpl->setVar('base64_logo_height', $logo_dimensions[1].'px');
$app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
// Title
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
$sys_config = $app->getconf->get_global_config('misc');
if (!empty($sys_config['company_name'])) {
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
}
$app->tpl_defaults();
$app->tpl->pparse();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment