Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Http.php')
-rw-r--r--core/Http.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/Http.php b/core/Http.php
index 79ee0d2af3..48e1fa14fa 100644
--- a/core/Http.php
+++ b/core/Http.php
@@ -792,9 +792,7 @@ class Http
*/
public static function configCurlCertificate(&$ch)
{
- if (file_exists(PIWIK_INCLUDE_PATH . '/core/DataFiles/cacert.pem')) {
- @curl_setopt($ch, CURLOPT_CAINFO, PIWIK_INCLUDE_PATH . '/core/DataFiles/cacert.pem');
- }
+ @curl_setopt($ch, CURLOPT_CAINFO, PIWIK_INCLUDE_PATH . '/core/DataFiles/cacert.pem');
}
public static function getUserAgent()