mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Move possible drivers and JUSH to Driver
This commit is contained in:
@@ -127,6 +127,9 @@ if (isset($_GET["sqlite"])) {
|
||||
|
||||
|
||||
class Driver extends SqlDriver {
|
||||
static $possibleDrivers = array("SQLite3", "PDO_SQLite");
|
||||
static $jush = "sqlite";
|
||||
|
||||
protected $types = array(array("integer" => 0, "real" => 0, "numeric" => 0, "text" => 0, "blob" => 0));
|
||||
|
||||
var $editFunctions = array(
|
||||
@@ -737,11 +740,4 @@ if (isset($_GET["sqlite"])) {
|
||||
function support($feature) {
|
||||
return preg_match('~^(check|columns|database|drop_col|dump|indexes|descidx|move_col|sql|status|table|trigger|variables|view|view_trigger)$~', $feature);
|
||||
}
|
||||
|
||||
function driver_config() {
|
||||
return array(
|
||||
'possible_drivers' => array("SQLite3", "PDO_SQLite"),
|
||||
'jush' => "sqlite",
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user