diff options
author | Andrew Dolgov <[email protected]> | 2013-04-02 13:24:49 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-02 13:24:49 +0400 |
commit | a55857db5010ad53d5c2949937abceab1dd82bff (patch) | |
tree | 12de2e6f944e8ef9a8ac45c4fe87da2553ff688b /install | |
parent | 8d192d025bc2e8f5e6e5e5aa843f7c6fffd9448e (diff) |
installer: mention lack of curl
Diffstat (limited to 'install')
-rw-r--r-- | install/index.php | 22 |
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> |