mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
favicon in metadata
This commit is contained in:
@@ -153,6 +153,8 @@ class ClientManager
|
||||
'scriptsHtml' => $scriptsHtml,
|
||||
'additionalStyleSheetsHtml' => $additionalStyleSheetsHtml,
|
||||
'linksHtml' => $linksHtml,
|
||||
'favicon196Path' => $this->getMetadata()->get(['app', 'client', 'favicon196']) ?? 'client/img/favicon196x196.png',
|
||||
'faviconPath' => $this->getMetadata()->get(['app', 'client', 'favicon']) ?? 'client/img/favicon.ico',
|
||||
];
|
||||
|
||||
$html = file_get_contents($htmlFilePath);
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
<meta name="description" content="EspoCRM is Open Source CRM application. Increase profitability through customer loyalty!">
|
||||
<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}}client/img/favicon196x196.png">
|
||||
<link rel="icon" href="{{basePath}}client/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="shortcut icon" href="{{basePath}}client/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="shortcut icon" sizes="196x196" href="{{basePath}}{{favicon196Path}}">
|
||||
<link rel="icon" href="{{basePath}}{{faviconPath}}" type="image/x-icon">
|
||||
<link rel="shortcut icon" href="{{basePath}}{{faviconPath}}" type="image/x-icon">
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
Espo.loader.cacheTimestamp = {{loaderCacheTimestamp}};
|
||||
|
||||
Reference in New Issue
Block a user