Files
Chamilo/main/badge/issuer.php
2025-04-10 12:49:05 +02:00

19 lines
391 B
PHP

<?php
/* For licensing terms, see /license.txt */
/**
* Show information about the OpenBadge issuer.
*
* @author Angel Fernando Quiroz Campos <angel.quiroz@beeznest.com>
*/
require_once __DIR__.'/../inc/global.inc.php';
$json = [
'name' => api_get_setting('Institution'),
'url' => api_get_path(WEB_PATH),
];
header('Content-Type: application/json');
echo json_encode($json);