diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-01-27 23:22:13 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-01-27 23:22:13 +0300 |
commit | 163c850c837226985e324d4a519dd6b9e2ad033c (patch) | |
tree | 0e904bf4e8780928be2ef5800d602294bfb2bf98 /core/Http.php | |
parent | 920f0a4f297015ad10ef0d4b4dc3b95e5eac2619 (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.php | 2 |
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'); } /** |