summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/OpenID/StoreTest.php
diff options
context:
space:
mode:
authorChris Buckley <git@cmbuckley.co.uk>2011-05-03 18:04:07 +0100
committerChris Buckley <git@cmbuckley.co.uk>2011-05-03 18:04:07 +0100
commit1787658d1572edd3b0cdef0bd8c307e7b37384ea (patch)
treeaee6afc74332aee1ea83fcced0473b3ff131fd36 /Tests/Auth/OpenID/StoreTest.php
parent00676efc3722784e783fba217d54b3ee33bf833e (diff)
downloadphp-openid-1787658d1572edd3b0cdef0bd8c307e7b37384ea.zip
php-openid-1787658d1572edd3b0cdef0bd8c307e7b37384ea.tar.gz
php-openid-1787658d1572edd3b0cdef0bd8c307e7b37384ea.tar.bz2
fix for rest of dl() calls, also avoid ini_set() as may not work on safe_mode
Diffstat (limited to 'Tests/Auth/OpenID/StoreTest.php')
-rw-r--r--Tests/Auth/OpenID/StoreTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php
index 4ff9f22..0847619 100644
--- a/Tests/Auth/OpenID/StoreTest.php
+++ b/Tests/Auth/OpenID/StoreTest.php
@@ -657,7 +657,7 @@ class Tests_Auth_OpenID_Included_StoreTest extends Tests_Auth_OpenID_Store {
// The MDB2 test can use any database engine. MySQL is chosen
// arbitrarily.
if (!(extension_loaded('mysql') ||
- @dl('mysql.' . PHP_SHLIB_SUFFIX)) ||
+ (function_exists('dl') && @dl('mysql.' . PHP_SHLIB_SUFFIX))) ||
!(@include_once 'MDB2.php')) {
print "(not testing MDB2 store)";
$this->pass();