gnu-social/vendor/openid/php-openid/admin/mathlib
Diogo Cordeiro 2a06261f75 [CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies
This adds a composer.json for all dependencies that are available
2019-08-03 17:47:24 +01:00

19 lines
296 B
PHP
Executable File

#!/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;
}
?>