mathlib 296 B

12345678910111213141516171819
  1. #!/usr/bin/env php
  2. <?php
  3. require_once 'adminutil.php';
  4. includeAdd(getParent());
  5. require_once 'Auth/OpenID/CryptUtil.php';
  6. $lib =& Auth_OpenID_MathLibrary::getLibWrapper();
  7. if ($lib === null) {
  8. fwrite(STDERR, 'No math library present\n');
  9. exit(1);
  10. } else {
  11. print $lib->type;
  12. }
  13. ?>