rework pubsubhubbub sanity check

This commit is contained in:
Andrew Dolgov 2011-04-26 18:48:22 +04:00
parent 65eebd13f4
commit 4a4a15e679

View file

@ -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."; $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")) { if ((PUBSUBHUBBUB_HUB || PUBSUBHUBBUB_ENABLED) && !function_exists("curl_init")) {
$err_msg = "PUBSUBHUBBUB_HUB is defined, but CURL functions are not found. CURL is required for PubSubHubbub support."; $err_msg = "CURL is required for PubSubHubbub support.";
} }
if (!class_exists("DOMDocument")) { if (!class_exists("DOMDocument")) {