1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

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";
if (isset($_GET["simpledb"])) {
$possible_drivers = array("SimpleXML");
$possible_drivers = array("SimpleXML + allow_url_fopen");
define("DRIVER", "simpledb");
if (class_exists('SimpleXMLElement')) {
if (class_exists('SimpleXMLElement') && ini_bool('allow_url_fopen')) {
class Min_DB {
var $extension = "SimpleXML", $server_info = '2009-04-15', $error, $timeout, $next, $affected_rows, $_result;