issuer.php 420 B

1234567891011121314151617181920
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Show information about the OpenBadge issuer.
  5. *
  6. * @author Angel Fernando Quiroz Campos <angel.quiroz@beeznest.com>
  7. *
  8. * @package chamilo.badge
  9. */
  10. require_once __DIR__.'/../inc/global.inc.php';
  11. $json = [
  12. 'name' => api_get_setting('Institution'),
  13. 'url' => api_get_path(WEB_PATH),
  14. ];
  15. header('Content-Type: application/json');
  16. echo json_encode($json);