admin_login.php 590 B

1234567891011121314151617181920
  1. <?php
  2. namespace Shibboleth;
  3. /**
  4. * Administratrive login. Useful when the standard login is not available anymore
  5. * which is usually the case.
  6. *
  7. * This page allow administrators to log into the application using the standard
  8. * Chamilo method when Shibboleth is not available.
  9. *
  10. * @license see /license.txt
  11. * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
  12. */
  13. $dir = dirname(__FILE__);
  14. include_once("$dir/../../init.php");
  15. require_once api_get_path(LIBRARY_PATH).'userportal.lib.php';
  16. ShibbolethController::instance()->admin_login();