Files
html/arena.php
2026-04-12 22:57:03 +02:00

10 lines
346 B
PHP

<?php
// Arena wrapper — injects dropdown filter + UX enhancements
$html = file_get_contents(__DIR__ . "/deepseek.html");
// Inject filter JS before </body>
$inject = "<script src=\"/api/arena-filter.js\"></script>";
if (strpos($html, "arena-filter") === false) {
$html = str_replace("</body>", $inject . "\n</body>", $html);
}
echo $html;