From: Andrew Dolgov Date: Tue, 26 Apr 2011 14:48:22 +0000 (+0400) Subject: rework pubsubhubbub sanity check X-Git-Tag: 1.5.4~8 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4a4a15e67936ac75077d6fa8ea5d2b0fab287ecd;p=tt-rss.git rework pubsubhubbub sanity check --- diff --git a/sanity_check.php b/sanity_check.php index 930d68e0..3007d2bb 100644 --- a/sanity_check.php +++ b/sanity_check.php @@ -143,8 +143,8 @@ $err_msg = "php.ini: Safe mode is not supported. If you wish to continue, remove this test from sanity_check.php and proceeed at your own risk. Please note that your bug reports will not be accepted or reviewed."; } - if (PUBSUBHUBBUB_HUB && !function_exists("curl_init")) { - $err_msg = "PUBSUBHUBBUB_HUB is defined, but CURL functions are not found. CURL is required for PubSubHubbub support."; + if ((PUBSUBHUBBUB_HUB || PUBSUBHUBBUB_ENABLED) && !function_exists("curl_init")) { + $err_msg = "CURL is required for PubSubHubbub support."; } if (!class_exists("DOMDocument")) {