mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 21:21:28 +00:00
update_rss_feed: block pubsub subscription requests when CURL is not available
This commit is contained in:
@@ -797,7 +797,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($feed_hub_url) {
|
if ($feed_hub_url && function_exists('curl_init')) {
|
||||||
$callback_url = get_self_url_prefix() .
|
$callback_url = get_self_url_prefix() .
|
||||||
"/backend.php?op=pubsub&id=$feed";
|
"/backend.php?op=pubsub&id=$feed";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user