]> git.wh0rd.org - tt-rss.git/commitdiff
rework pubsubhubbub sanity check
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Apr 2011 14:48:22 +0000 (18:48 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Apr 2011 14:48:22 +0000 (18:48 +0400)
sanity_check.php

index 930d68e00ab3d103c18a2be9047230c144dd8572..3007d2bb74e61fb67cfa057784aae92f9332e9b1 100644 (file)
                $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")) {