summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-04-02 22:28:59 +0000
committertailor <cygnus@janrain.com>2007-04-02 22:28:59 +0000
commitecbbb96cb663bd80a73a4c84484bf1335c31e73b (patch)
treef6df27a1f19ef5bdc28da161e9af3d0079bab645 /admin
parent8d4af1add86ed970d463f74d48aad4b7986165e6 (diff)
downloadphp-openid-ecbbb96cb663bd80a73a4c84484bf1335c31e73b.zip
php-openid-ecbbb96cb663bd80a73a4c84484bf1335c31e73b.tar.gz
php-openid-ecbbb96cb663bd80a73a4c84484bf1335c31e73b.tar.bz2
[project @ Add CURL override for testing]
Diffstat (limited to 'admin')
-rw-r--r--admin/texttest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/texttest.php b/admin/texttest.php
index 5564aae..bb01eee 100644
--- a/admin/texttest.php
+++ b/admin/texttest.php
@@ -45,6 +45,7 @@ function microtime_float()
}
$longopts = array('no-math',
+ 'no-curl',
'math-lib=',
'insecure-rand',
'thorough');
@@ -72,6 +73,9 @@ foreach ($flags as $flag) {
case '--no-math':
define('Auth_OpenID_NO_MATH_SUPPORT', true);
break;
+ case '--no-curl':
+ define('Auth_Yadis_CURL_OVERRIDE', true);
+ break;
case '--math-lib':
$math_type[] = $value;
break;