From 52159093dd3a817a711e1fb2a5171e4b351e1290 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 26 Jul 2021 16:12:46 +0300 Subject: [PATCH] applicationDescription param --- application/Espo/Core/Utils/ClientManager.php | 3 +++ html/main.html | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application/Espo/Core/Utils/ClientManager.php b/application/Espo/Core/Utils/ClientManager.php index 9795bc4047..48e9055786 100644 --- a/application/Espo/Core/Utils/ClientManager.php +++ b/application/Espo/Core/Utils/ClientManager.php @@ -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); diff --git a/html/main.html b/html/main.html index 1763352146..36c5c2effb 100644 --- a/html/main.html +++ b/html/main.html @@ -6,10 +6,7 @@ - +