SimpleDB: Document that allow_url_fopen is required (bug #340)

This commit is contained in:
Jakub Vrana 2018-01-30 13:19:21 +01:00
parent d28d01e76c
commit 92739f48ce
2 changed files with 3 additions and 2 deletions

View file

@ -2,10 +2,10 @@
$drivers["simpledb"] = "SimpleDB"; $drivers["simpledb"] = "SimpleDB";
if (isset($_GET["simpledb"])) { if (isset($_GET["simpledb"])) {
$possible_drivers = array("SimpleXML"); $possible_drivers = array("SimpleXML + allow_url_fopen");
define("DRIVER", "simpledb"); define("DRIVER", "simpledb");
if (class_exists('SimpleXMLElement')) { if (class_exists('SimpleXMLElement') && ini_bool('allow_url_fopen')) {
class Min_DB { class Min_DB {
var $extension = "SimpleXML", $server_info = '2009-04-15', $error, $timeout, $next, $affected_rows, $_result; var $extension = "SimpleXML", $server_info = '2009-04-15', $error, $timeout, $next, $affected_rows, $_result;

View file

@ -2,6 +2,7 @@ Adminer 4.5.1-dev:
Fix counting selected rows after going back to select page Fix counting selected rows after going back to select page
PHP <5.3 compatibility even with Elasticsearch enabled PHP <5.3 compatibility even with Elasticsearch enabled
MariaDB: Support JSON since MariaDB 10.2 MariaDB: Support JSON since MariaDB 10.2
SimpleDB: Document that allow_url_fopen is required
Malay translation Malay translation
Adminer 4.5.0 (released 2018-01-24): Adminer 4.5.0 (released 2018-01-24):