From: Jakub Vrana Date: Sat, 29 Mar 2025 15:25:35 +0000 (+0100) Subject: Add comment X-Git-Tag: v5.1.1~68 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=eeb13253a89e233e9fc322f708eb5b03b720f666;p=adminer.git Add comment --- diff --git a/plugins/drivers/elastic.php b/plugins/drivers/elastic.php index e3bb5c61..bd224d78 100644 --- a/plugins/drivers/elastic.php +++ b/plugins/drivers/elastic.php @@ -17,7 +17,7 @@ if (isset($_GET["elastic"])) { */ function rootQuery(string $path, ?array $content = null, string $method = 'GET') { $file = @file_get_contents("$this->url/" . ltrim($path, '/'), false, stream_context_create(array( - //~ 'ssl' => array('verify_peer' => false), + //~ 'ssl' => array('verify_peer' => false), // Elasticsearch responses in over 4 s on https://localhost:9200 without this line for me 'http' => array( 'method' => $method, 'content' => $content !== null ? json_encode($content) : null,