1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 23:27:17 +02:00

Move possible drivers and JUSH to Driver

This commit is contained in:
Jakub Vrana
2025-03-06 14:27:58 +01:00
parent 049536da90
commit 5fdaae27dc
14 changed files with 38 additions and 83 deletions

View File

@@ -78,9 +78,7 @@ include "./include/adminer.inc.php";
$adminer = (function_exists('adminer_object') ? adminer_object() : new Adminer);
include "../adminer/drivers/mysql.inc.php"; // must be included as last driver
$config = driver_config();
$possible_drivers = $config['possible_drivers'];
$jush = $config['jush'];
$jush = Driver::$jush;
define("SERVER", $_GET[DRIVER]); // read from pgsql=localhost
define("DB", $_GET["db"]); // for the sake of speed and size