mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
application id in body tag
This commit is contained in:
@@ -49,6 +49,7 @@ class ClientManager
|
||||
private string $favicon196 = 'client/img/favicon196x196.png';
|
||||
private string $basePath = '';
|
||||
private string $apiUrl = 'api/v1';
|
||||
private string $applicationId = 'espocrm';
|
||||
|
||||
private string $nonce;
|
||||
|
||||
@@ -190,7 +191,7 @@ class ClientManager
|
||||
);
|
||||
|
||||
$data = [
|
||||
'applicationId' => 'espocrm',
|
||||
'applicationId' => $this->applicationId,
|
||||
'apiUrl' => $this->apiUrl,
|
||||
'applicationName' => $this->config->get('applicationName', 'EspoCRM'),
|
||||
'cacheTimestamp' => $cacheTimestamp,
|
||||
@@ -384,4 +385,9 @@ class ClientManager
|
||||
{
|
||||
$this->apiUrl = $apiUrl;
|
||||
}
|
||||
|
||||
public function setApplicationId(string $applicationId): void
|
||||
{
|
||||
$this->applicationId = $applicationId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user