mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +02:00
Elasticsearch: Make it work with Elasticsearch 8
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
chdir(__DIR__);
|
||||
foreach (glob("*.html") as $filename) {
|
||||
if (!preg_match('~^pdo-~', $filename)) {
|
||||
if (!preg_match('~^pdo-|elastic~', $filename)) {
|
||||
$file = file_get_contents($filename);
|
||||
$file = preg_replace_callback('~/(adminer(/sqlite)?|editor/example)\.php(\??)~', function ($match) {
|
||||
return "/$match[1].php?ext=pdo" . ($match[3] ? "&" : "");
|
||||
|
Reference in New Issue
Block a user