share.php 285 B

123456789101112131415
  1. <?php
  2. /**
  3. *
  4. * @license see /license.txt
  5. * @author Laurent Opprecht <laurent@opprecht.info> for the Univesity of Geneva
  6. */
  7. require_once __DIR__ . '/../inc/global.inc.php';
  8. $has_access = api_protect_course_script();
  9. if (!$has_access) {
  10. exit;
  11. }
  12. Portfolio::controller()->run();