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:
authorThomas Steur <thomas.steur@gmail.com>2015-01-27 23:22:13 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-01-27 23:22:13 +0300
commit163c850c837226985e324d4a519dd6b9e2ad033c (patch)
tree0e904bf4e8780928be2ef5800d602294bfb2bf98 /core/Http.php
parent920f0a4f297015ad10ef0d4b4dc3b95e5eac2619 (diff)
fixes #7083 make sure curl_exec exists as well as it could be disabled but is needed
Diffstat (limited to 'core/Http.php')
-rw-r--r--core/Http.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Http.php b/core/Http.php
index 2fa5bd3937..25d6d59566 100644
--- a/core/Http.php
+++ b/core/Http.php
@@ -47,7 +47,7 @@ class Http
protected static function isCurlEnabled()
{
- return function_exists('curl_init');
+ return function_exists('curl_init') && function_exists('curl_exec');
}
/**