applicationDescription param

This commit is contained in:
Yuri Kuznetsov
2021-07-26 16:12:46 +03:00
parent c7056efe69
commit 52159093dd
2 changed files with 4 additions and 4 deletions

View File

@@ -61,6 +61,8 @@ class ClientManager
private $module;
private const APP_DESCRIPTION = "EspoCRM - Open Source CRM application.";
public function __construct(
Config $config,
ThemeManager $themeManager,
@@ -198,6 +200,7 @@ class ClientManager
'ajaxTimeout' => $this->config->get('ajaxTimeout') ?? 60000,
'libsConfigPath' => $this->libsConfigPath,
'internalModuleList' => Json::encode($internalModuleList),
'applicationDescription' => $this->config->get('applicationDescription') ?? self::APP_DESCRIPTION,
];
$html = $this->fileManager->getContents($htmlFilePath);

View File

@@ -6,10 +6,7 @@
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta
name="description"
content="EspoCRM is Open Source CRM application. Increase profitability through customer loyalty!"
>
<meta name="description" content="{{applicationDescription}}">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="shortcut icon" sizes="196x196" href="{{basePath}}{{favicon196Path}}">