","groups":[…]}, …]} // // DEPENDS ON // include/confform.php vv_conf_all_groups() // include/config.php vv_get_conf_files() // api/confform.php the write path for these same fields // ═══════════════════════════════════════════════════════════════════════════════════════════════ header('Content-Type: application/json'); header('Cache-Control: no-store, no-cache'); require_once dirname(__DIR__) . '/include/confform.php'; $files = vv_get_conf_files(); $out = []; foreach ($files as $f) { $groups = array_values(array_filter( vv_conf_all_groups($f), fn($g) => stripos($g['subsection'], 'partnership') !== false )); if ($groups) { $out[] = ['file' => $f, 'groups' => $groups]; } } echo json_encode(['ok' => true, 'files' => $out]);