adasd
This commit is contained in:
@@ -23,6 +23,13 @@ $content = '';
|
||||
if ($selected && in_array($selected, $files, true)) {
|
||||
$content = @file_get_contents($base . '/' . $selected) ?: '';
|
||||
}
|
||||
|
||||
// Raw delivery for AJAX view (no layout, plain text)
|
||||
if (isset($_GET['raw']) && $_GET['raw'] === '1') {
|
||||
header('Content-Type: text/plain; charset=utf-8');
|
||||
echo $content;
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<main class="container" style="padding: 32px 0;">
|
||||
<div class="card" style="padding: 16px;">
|
||||
|
||||
Reference in New Issue
Block a user