don't show a warning when dl() disabled

This commit is contained in:
Evan Prodromou 2009-08-27 08:45:53 -07:00
parent 03e0f73002
commit 2371fe9092

View File

@ -87,7 +87,7 @@ function checkPrereqs()
function checkExtension($name)
{
if (!extension_loaded($name)) {
if (!dl($name.'.so')) {
if (!@dl($name.'.so')) {
return false;
}
}