A free, self-hostable news aggregator…
If cURL is not installed, the script stops with a fatal error. (#3519)
ThomasSmallertefba11ee37fb
diff --git a/app/install.php b/app/install.phpindex b3e96a773..1eb952286 100644--- a/app/install.php+++ b/app/install.php@@ -402,7 +402,11 @@ function printStep1() {<noscript><p class="alert alert-warn"><span class="alert-head"><?= _t('gen.short.attention') ?></span> <?= _t('install.javascript_is_better') ?></p></noscript><?php- $version = curl_version();+ if (function_exists('curl_version')) {+ $version = curl_version();+ } else {+ $version['version'] = '';+ }printStep1Template('php', $res['php'], [PHP_VERSION, FRESHRSS_MIN_PHP_VERSION]);printStep1Template('pdo', $res['pdo']);printStep1Template('curl', $res['curl'], [$version['version']]);