]> git.joonet.de Git - adminer.git/commitdiff
Add comment
authorJakub Vrana <jakub@vrana.cz>
Sat, 29 Mar 2025 15:25:35 +0000 (16:25 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sat, 29 Mar 2025 15:25:35 +0000 (16:25 +0100)
plugins/drivers/elastic.php

index e3bb5c6179270506740ff9394065e3efe699db00..bd224d788658d134c922707aeb0420943feaa5f4 100644 (file)
@@ -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,