debug und oidc

This commit is contained in:
2026-03-04 22:35:27 +01:00
parent c4b317d047
commit 43d0de3c5f
5 changed files with 147 additions and 1 deletions

View File

@@ -28,6 +28,12 @@ if ($selected !== '' && preg_match('/^[a-zA-Z0-9._-]+$/', $selected)) {
}
}
if (isset($_GET['list']) && $_GET['list'] === '1') {
header('Content-Type: application/json; charset=utf-8');
echo json_encode($files);
return;
}
if (isset($_GET['raw']) && $_GET['raw'] === '1') {
header('Content-Type: text/plain; charset=utf-8');
echo $content ?? '';