mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
Document that Elasticsearch requires allow_url_fopen
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user