summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-04-04 22:55:40 +0000
committertailor <cygnus@janrain.com>2007-04-04 22:55:40 +0000
commit9bd1ca15e7f07e3c5ab28edddcf244555b2887ce (patch)
tree231d6b5a3041a5476033d2dd85eee852b3bc613c /admin
parentf53a81c83f27a5d84e998b197b6569e35a12df8b (diff)
downloadphp-openid-9bd1ca15e7f07e3c5ab28edddcf244555b2887ce.zip
php-openid-9bd1ca15e7f07e3c5ab28edddcf244555b2887ce.tar.gz
php-openid-9bd1ca15e7f07e3c5ab28edddcf244555b2887ce.tar.bz2
[project @ Move math extension data into a function]
Diffstat (limited to 'admin')
-rw-r--r--admin/texttest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/admin/texttest.php b/admin/texttest.php
index c2945f7..c42e763 100644
--- a/admin/texttest.php
+++ b/admin/texttest.php
@@ -80,9 +80,6 @@ foreach ($flags as $flag) {
case '--no-curl':
define('Auth_Yadis_CURL_OVERRIDE', true);
break;
- case '--math-lib':
- $math_type[] = $value;
- break;
case '--thorough':
define('Tests_Auth_OpenID_thorough', true);
break;
@@ -93,8 +90,11 @@ foreach ($flags as $flag) {
}
// ******** Math library selection ***********
-
-if ($math_type) {
+// XXX FIXME
+// case '--math-lib':
+// $math_type[] = $value;
+// break;
+if ($math_type && false) {
if (defined('Auth_OpenID_NO_MATH_SUPPORT')) {
print "--no-math and --math-lib are mutually exclusive\n";
exit(1);
@@ -103,7 +103,7 @@ if ($math_type) {
$new_extensions = array();
foreach ($math_type as $lib) {
$found = false;
- foreach ($_Auth_OpenID_math_extensions as $ext) {
+ foreach (Auth_OpenID_math_extensions() as $ext) {
if ($ext['extension'] == $lib) {
$new_extensions[] = $ext;
$found = true;