File: mathlib

package info (click to toggle)
php-openid 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,928 kB
  • ctags: 6,167
  • sloc: php: 22,223; python: 376; xml: 333; sh: 144; perl: 103; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (7)
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;
}

?>