renderFromJsonFile($_GET['path']); } else { $data = loadFolderTree(__DIR__ . DIRECTORY_SEPARATOR . 'data'); if ($data) { // Non-recursive (only proficiencies/*.json): $onlyHere = $data->jsonNonRecursive(); // Recursive (proficiencies/**/*.json): $allUnder = $data->jsonRecursive(); } try { $html = $renderer->renderAll($allUnder); } catch (Throwable $e) { $html = '
' . htmlspecialchars($e->getMessage()) . '
'; } } ?> 66 Wiki