mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 22:56:46 +02:00
URL parameter ?ext=pdo to force using PDO
This commit is contained in:
@@ -5,7 +5,7 @@ $drivers["sqlite"] = "SQLite";
|
||||
|
||||
if (isset($_GET["sqlite"])) {
|
||||
define('Adminer\DRIVER', "sqlite");
|
||||
if (class_exists("SQLite3")) {
|
||||
if (class_exists("SQLite3") && $_GET["ext"] != "pdo") {
|
||||
|
||||
class SqliteDb {
|
||||
public $extension = "SQLite3", $server_info, $affected_rows, $errno, $error;
|
||||
|
Reference in New Issue
Block a user