1
0
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:
Jakub Vrana
2025-03-05 14:12:42 +01:00
parent 45ac930e06
commit 3da09dd31a
18 changed files with 89 additions and 90 deletions

View File

@@ -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]);