mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Move possible drivers and JUSH to Driver
This commit is contained in:
@@ -141,6 +141,9 @@ if (isset($_GET["oracle"])) {
|
||||
|
||||
|
||||
class Driver extends SqlDriver {
|
||||
static $possibleDrivers = array("OCI8", "PDO_OCI");
|
||||
static $jush = "oracle";
|
||||
|
||||
var $editFunctions = array(
|
||||
array( //! no parentheses
|
||||
"date" => "current_date",
|
||||
@@ -544,11 +547,4 @@ ORDER BY PROCESS
|
||||
function support($feature) {
|
||||
return preg_match('~^(columns|database|drop_col|indexes|descidx|processlist|scheme|sql|status|table|variables|view)$~', $feature); //!
|
||||
}
|
||||
|
||||
function driver_config() {
|
||||
return array(
|
||||
'possible_drivers' => array("OCI8", "PDO_OCI"),
|
||||
'jush' => "oracle",
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user