summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-02 13:24:49 +0400
committerAndrew Dolgov <[email protected]>2013-04-02 13:24:49 +0400
commita55857db5010ad53d5c2949937abceab1dd82bff (patch)
tree12de2e6f944e8ef9a8ac45c4fe87da2553ff688b /install
parent8d192d025bc2e8f5e6e5e5aa843f7c6fffd9448e (diff)
installer: mention lack of curl
Diffstat (limited to 'install')
-rw-r--r--install/index.php22
1 files changed, 20 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php
index 6e141f077..3deb7ad23 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 "<ul>";
- <?php print_notice("Configuration check succeeded."); ?>
+ foreach ($notices as $notice) {
+ print "<li>$notice</li>";
+ }
+
+ print "</ul>";
+ } else {
+ print_notice("Configuration check succeeded.");
+ }
+
+ ?>
<h2>Checking database</h2>