summaryrefslogtreecommitdiff
path: root/sanity_check.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-26 18:48:22 +0400
committerAndrew Dolgov <[email protected]>2011-04-26 18:48:22 +0400
commit4a4a15e67936ac75077d6fa8ea5d2b0fab287ecd (patch)
tree2455675a3ac13cd6974cb1694a5db8ce8d2bb68d /sanity_check.php
parent65eebd13f41a18dab90447276faca4045990aac9 (diff)
rework pubsubhubbub sanity check
Diffstat (limited to 'sanity_check.php')
-rw-r--r--sanity_check.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/sanity_check.php b/sanity_check.php
index 930d68e00..3007d2bb7 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")) {