summaryrefslogtreecommitdiffstats
path: root/admin/mathlib
blob: d2a70125faba3b77c9ce56667e47818075106933 (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('Net/OpenID/CryptUtil.php');

$lib =& Net_OpenID_MathLibrary::getLibWrapper();

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

?>