flash.moe/public/nothing.php

11 lines
217 B
PHP
Raw Normal View History

2022-02-05 17:05:59 +00:00
<?php
$type = !empty($_GET['t']) && is_string($_GET['t']) ? trim((string)$_GET['t']) : 'text/plain';
header("Content-Type: {$type}");
switch($type) {
case 'application/json':
echo '[]';
break;
}