10 lines
346 B
PHP
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;
|