X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=extlib%2FPEAR.php;h=fcefa964a3299e5832339ce04fe2e7a1165bbf33;hb=637293a52fb51c67097f763626b2e5456de32e98;hp=4c24c6006a398f8f8ade714a87e67db58b9c7619;hpb=14c9366aac697e87499c5748b36fa7bf5e6cd320;p=quix0rs-gnu-social.git diff --git a/extlib/PEAR.php b/extlib/PEAR.php index 4c24c6006a..fcefa964a3 100644 --- a/extlib/PEAR.php +++ b/extlib/PEAR.php @@ -746,7 +746,7 @@ class PEAR { if (!extension_loaded($ext)) { // if either returns true dl() will produce a FATAL error, stop that - if ((ini_get('enable_dl') != 1) || (ini_get('safe_mode') == 1)) { + if ((ini_get('enable_dl') != 1) || (ini_get('safe_mode') == 1) || !function_exists('dl')) { return false; } if (OS_WINDOWS) {