12 lines
387 B
PHP
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);
|
|
}
|