mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Rename Min_ classes
This commit is contained in:
@@ -63,7 +63,7 @@ header("Cache-Control: immutable");
|
||||
if ($driver != "mysql") {
|
||||
preg_match_all(
|
||||
'~\bfunction ([^(]+)~',
|
||||
preg_replace('~class Min_Driver.*\n\t}~sU', '', file_get_contents(__DIR__ . "/adminer/drivers/mysql.inc.php")),
|
||||
preg_replace('~class Driver.*\n\t}~sU', '', file_get_contents(__DIR__ . "/adminer/drivers/mysql.inc.php")),
|
||||
$matches
|
||||
); //! respect context (extension, class)
|
||||
$functions = array_combine($matches[1], $matches[0]);
|
||||
|
Reference in New Issue
Block a user