Project

General

Profile

Bug #21444 » openid_php53.diff

Administrator Admin, 2009-11-04 10:29

View differences:

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;
}
(1-1/4)