summaryrefslogtreecommitdiff
path: root/install/index.php
diff options
context:
space:
mode:
authorHeiko Adams <[email protected]>2013-04-02 13:38:42 +0200
committerHeiko Adams <[email protected]>2013-04-02 13:38:42 +0200
commit127585a05cba0f9d5d79ed5cf83394f04a7138d4 (patch)
treeda04bcc463b90efa34c6763bd3fc7399a9dcff90 /install/index.php
parent58f42816c56a8ea82f1fabe1ba83794005f1c7d6 (diff)
parent4b7726f0b44db36ad12c0a0918a9129c8cbb1caa (diff)
Merge branch 'master' of https://github.com/HeikoAdams/Tiny-Tiny-RSS
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>