summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/DB.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/pear/DB.php b/pear/DB.php
index 1efb5b4784..33a6bfa259 100644
--- a/pear/DB.php
+++ b/pear/DB.php
@@ -510,6 +510,9 @@ class DB
@dl($name . $dlext);
}
if (!extension_loaded($name)) {
+ trigger_error("The extension '$name' couldn't be loaded. ".
+ 'Probably you don\'t have support in your PHP '.
+ 'to this Database backend', E_USER_ERROR);
return false;
}
return true;