1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-20 21:31:44 +02:00

Tests: Fix

This commit is contained in:
Jakub Vrana
2025-03-31 09:05:58 +02:00
parent 79bebe77ba
commit f2871266ad
2 changed files with 1 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
chdir(__DIR__);
foreach (glob("*.html") as $filename) {
if (!preg_match('~^pdo-|elastic~', $filename)) {
if (!preg_match('~^pdo-|elastic|screenshots~', $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] ? "&" : "");