Files
zyt/server/app/mcp/catalog/resources.php
T
2026-09-24 09:45:44 +08:00

11 lines
422 B
PHP

<?php
/**
* AI 数据目录的人工审核结论:覆盖 generated.php 的自动判断。
* 按后台目录拆分在 review/*.php,每个文件返回 [资源标识 => 条目],字段说明见 review/README.md。
*/
$entries = [];
foreach (glob(__DIR__ . DIRECTORY_SEPARATOR . 'review' . DIRECTORY_SEPARATOR . '*.php') ?: [] as $file) {
$entries = array_merge($entries, (array) require $file);
}
return $entries;