Files
html/api/ambre-sse3.php
2026-04-22 11:05:01 +02:00

12 lines
387 B
PHP

<?php
header("Content-Type: text/plain");
$c = @file_get_contents("/var/www/html/wevia.html");
// Find WEVIA-pattern header rendering - that's the SSE handler for 'header' type
$pos = strpos($c, "WEVIA-pattern");
echo "WEVIA-pattern 1st at: $pos\n\n";
if ($pos !== false) {
echo "=== Context (go back to find handler start) ===\n";
echo substr($c, max(0, $pos - 1500), 3000);
}