Bug #21444 » openid_php53.diff
typo3/sysext/openid/lib/php-openid/Auth/OpenID/BigMath.php (working copy) | ||
---|---|---|
{
|
||
$loaded = false;
|
||
$hasDl = function_exists('dl');
|
||
foreach ($exts as $extension) {
|
||
// See if the extension specified is already loaded.
|
||
if ($extension['extension'] &&
|
||
... | ... | |
}
|
||
// Try to load dynamic modules.
|
||
if (!$loaded) {
|
||
if (!$loaded && $hasDl) {
|
||
foreach ($extension['modules'] as $module) {
|
||
if (@dl($module . "." . PHP_SHLIB_SUFFIX)) {
|
||
if (@dl($module . '.' . PHP_SHLIB_SUFFIX)) {
|
||
$loaded = true;
|
||
break;
|
||
}
|