From: Andrew Dolgov Date: Tue, 2 Apr 2013 09:24:49 +0000 (+0400) Subject: installer: mention lack of curl X-Git-Tag: 1.7.6~36 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a55857db5010ad53d5c2949937abceab1dd82bff;p=tt-rss.git installer: mention lack of curl --- diff --git a/install/index.php b/install/index.php index 6e141f07..3deb7ad2 100644 --- a/install/index.php +++ b/install/index.php @@ -283,9 +283,27 @@ exit; } - ?> + $notices = array(); + + if (!function_exists("curl_init")) { + array_push($notices, "It is highly recommended to enable support for CURL in PHP."); + } + + if (count($notices) > 0) { + print_notice("Configuration check succeeded with minor problems:"); + + print ""; + } else { + print_notice("Configuration check succeeded."); + } + + ?>

Checking database