EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
comment
Yuri Kuznetsov678b3bb47d0d
diff --git a/application/Espo/Core/Api/Util.php b/application/Espo/Core/Api/Util.phpindex 8bba382aee..9f132f6340 100644--- a/application/Espo/Core/Api/Util.php+++ b/application/Espo/Core/Api/Util.php@@ -76,6 +76,8 @@ class Utilpublic function obtainIpFromRequest(Request $request): ?string{+ // Do not add support of any more parameters here.+$param = $this->config->get('ipAddressServerParam') ?? 'REMOTE_ADDR';return $request->getServerParam($param);