forked from GNUsocial/gnu-social
don't show a warning when dl() disabled
This commit is contained in:
parent
03e0f73002
commit
2371fe9092
@ -87,7 +87,7 @@ function checkPrereqs()
|
|||||||
function checkExtension($name)
|
function checkExtension($name)
|
||||||
{
|
{
|
||||||
if (!extension_loaded($name)) {
|
if (!extension_loaded($name)) {
|
||||||
if (!dl($name.'.so')) {
|
if (!@dl($name.'.so')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user