summaryrefslogtreecommitdiff
path: root/install/index.php
diff options
context:
space:
mode:
authorBarak Korren <[email protected]>2013-04-02 20:38:07 +0300
committerBarak Korren <[email protected]>2013-04-02 20:38:07 +0300
commit58a2577d48790c79adfd44bcfd662c980ce6cfe4 (patch)
tree523d814ea0b7b6f617fe515b186099c6e83fed72 /install/index.php
parente470a273cf09562fb2f9c0c899002303f19c8d16 (diff)
parentcc332603431102a682feda22b9cf0093a29f0176 (diff)
Merge branch 'master' of https://github.com/gothfox/Tiny-Tiny-RSS.git
Diffstat (limited to 'install/index.php')
-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>