aboutsummaryrefslogtreecommitdiff
path: root/models/openid-php-openid-782224d/admin/mathlib
blob: 53f50d06c6b335d7174c98de9e782b85d457f495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env php
<?php

require_once 'adminutil.php';
includeAdd(getParent());

require_once 'Auth/OpenID/CryptUtil.php';

$lib =& Auth_OpenID_MathLibrary::getLibWrapper();

if ($lib === null) {
    fwrite(STDERR, 'No math library present\n');
    exit(1);
} else {
    print $lib->type;
}

?>