issuer.php 415 B

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