mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Avoid fatal error
This commit is contained in:
@@ -173,6 +173,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (class_exists("Min_SQLite")) {
|
||||||
class Min_DB extends Min_SQLite {
|
class Min_DB extends Min_SQLite {
|
||||||
|
|
||||||
function Min_DB() {
|
function Min_DB() {
|
||||||
@@ -195,6 +196,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function idf_escape($idf) {
|
function idf_escape($idf) {
|
||||||
return '"' . str_replace('"', '""', $idf) . '"';
|
return '"' . str_replace('"', '""', $idf) . '"';
|
||||||
|
Reference in New Issue
Block a user