Document that Elasticsearch requires allow_url_fopen

This commit is contained in:
Jakub Vrana 2018-05-04 15:24:01 +02:00
parent 78f4513d9d
commit 75f43a4454

View file

@ -2,10 +2,10 @@
$drivers["elastic"] = "Elasticsearch (beta)";
if (isset($_GET["elastic"])) {
$possible_drivers = array("json");
$possible_drivers = array("json + allow_url_fopen");
define("DRIVER", "elastic");
if (function_exists('json_decode')) {
if (function_exists('json_decode') && ini_bool('allow_url_fopen')) {
class Min_DB {
var $extension = "JSON", $server_info, $errno, $error, $_url;