summaryrefslogtreecommitdiff
path: root/extlib/PEAR.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-24 17:15:54 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-24 17:15:54 -0400
commit49bce941a9aae495ee7221bd367791227487b458 (patch)
tree91858ee586473045158f6bb539e26af8168ecd84 /extlib/PEAR.php
parent3d30ad83f881a69d76b57a9af051fef308644987 (diff)
parent5323956e388ebc2e4dfa1a5193aa670c96fff027 (diff)
Merge remote branch 'statusnet/0.8.x' into 0.9.x
Conflicts: EVENTS.txt actions/requesttoken.php classes/File.php install.php lib/action.php lib/noticeform.php
Diffstat (limited to 'extlib/PEAR.php')
-rw-r--r--extlib/PEAR.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/extlib/PEAR.php b/extlib/PEAR.php
index 4c24c6006..fcefa964a 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) {