Actually skip the pingback if XML-RPC extension is missing, instead of considering it then trying anyway and dying of a fatal error. :)
This commit is contained in:
parent
cbc3c7b141
commit
9c34d5c107
|
@ -126,6 +126,7 @@ class LinkbackPlugin extends Plugin
|
|||
if (!extension_loaded('xmlrpc')) {
|
||||
if (!dl('xmlrpc.so')) {
|
||||
common_log(LOG_ERR, "Can't pingback; xmlrpc extension not available.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user