mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 19:13:59 +02:00
Rename variable
This commit is contained in:
@@ -167,7 +167,7 @@ function auth_error(string $error, array &$permanent) {
|
||||
if (isset($_GET["username"]) && !class_exists('Adminer\Db')) {
|
||||
unset($_SESSION["pwds"][DRIVER]);
|
||||
unset_permanent($permanent);
|
||||
page_header(lang('No extension'), lang('None of the supported PHP extensions (%s) are available.', implode(", ", Driver::$possibleDrivers)), false);
|
||||
page_header(lang('No extension'), lang('None of the supported PHP extensions (%s) are available.', implode(", ", Driver::$extensions)), false);
|
||||
page_footer("auth");
|
||||
exit;
|
||||
}
|
||||
|
@@ -16,7 +16,7 @@ function get_driver(string $id): string {
|
||||
}
|
||||
|
||||
abstract class SqlDriver {
|
||||
/** @var list<string> */ static array $possibleDrivers = array();
|
||||
/** @var list<string> */ static array $extensions = array(); // possible extensions
|
||||
static string $jush; // JUSH identifier
|
||||
|
||||
protected Db $conn;
|
||||
|
Reference in New Issue
Block a user