diff options
Diffstat (limited to 'core/Http.php')
-rw-r--r-- | core/Http.php | 4 |
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() |