From 3d24d08e41a021bcbbc51464ec670ad7c3a4a173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 6 Mar 2017 14:31:07 +0100 Subject: [PATCH] Show system variables on error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/Util.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libraries/Util.php b/libraries/Util.php index 4cc14936d5..fb9e537458 100644 --- a/libraries/Util.php +++ b/libraries/Util.php @@ -4797,6 +4797,13 @@ class Util if ($response === false) { /* Debug code! */ echo curl_error($curl_handle); + echo "\n"; + echo 'cafile=' . ini_get('curl.cafile'); + echo "\n"; + echo 'cainfo=' . ini_get('curl.cainfo'); + echo "\n"; + echo 'capath=' . ini_get('curl.capath'); + echo "\n"; return null; } $http_status = curl_getinfo($curl_handle, CURLINFO_HTTP_CODE);