Document that Elasticsearch requires allow_url_fopen
This commit is contained in:
parent
78f4513d9d
commit
75f43a4454
|
@ -2,10 +2,10 @@
|
||||||
$drivers["elastic"] = "Elasticsearch (beta)";
|
$drivers["elastic"] = "Elasticsearch (beta)";
|
||||||
|
|
||||||
if (isset($_GET["elastic"])) {
|
if (isset($_GET["elastic"])) {
|
||||||
$possible_drivers = array("json");
|
$possible_drivers = array("json + allow_url_fopen");
|
||||||
define("DRIVER", "elastic");
|
define("DRIVER", "elastic");
|
||||||
|
|
||||||
if (function_exists('json_decode')) {
|
if (function_exists('json_decode') && ini_bool('allow_url_fopen')) {
|
||||||
class Min_DB {
|
class Min_DB {
|
||||||
var $extension = "JSON", $server_info, $errno, $error, $_url;
|
var $extension = "JSON", $server_info, $errno, $error, $_url;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue