summaryrefslogtreecommitdiffstats
path: root/admin/mathlib
blob: 6cabc91149b2728a7310a5da6b4f2a624632e83c (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;
}

?>