From: Andrew Dolgov Date: Fri, 1 Apr 2011 13:20:54 +0000 (+0400) Subject: update_rss_feed: block pubsub subscription requests when CURL is not available X-Git-Tag: 1.5.3~81 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6eb8d32d9640b1dae136baf7719dee0006bf34ed;p=tt-rss.git update_rss_feed: block pubsub subscription requests when CURL is not available --- diff --git a/functions.php b/functions.php index 46502cd1..026ea575 100644 --- a/functions.php +++ b/functions.php @@ -797,7 +797,7 @@ } } - if ($feed_hub_url) { + if ($feed_hub_url && function_exists('curl_init')) { $callback_url = get_self_url_prefix() . "/backend.php?op=pubsub&id=$feed";