debug und oidc
This commit is contained in:
@@ -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 ?? '';
|
||||
|
||||
Reference in New Issue
Block a user