From a55857db5010ad53d5c2949937abceab1dd82bff Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 2 Apr 2013 13:24:49 +0400 Subject: [PATCH] installer: mention lack of curl --- install/index.php | 22 ++++++++++++++++++++-- 1 file 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 ""; + } else { + print_notice("Configuration check succeeded."); + } + + ?>

Checking database