aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/about.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-03-08 11:49:05 +0100
committerGravatar GitHub <noreply@github.com> 2025-03-08 11:49:05 +0100
commitd80171ebfdddad2b3b873400caf633d160e2fb12 (patch)
treed0cec495c90ae53f634fe6452bf806bd02292e2d /app/views/index/about.phtml
parentfdc564dd9e85a2f3fbf6087611fd6c7f42fc2ea8 (diff)
Back-compatibility cURL 7.51 (#7409)
* Back-compatibility cURL 7.51 fix https://github.com/FreshRSS/FreshRSS/issues/7381 And add cURL version to system info. Do not require a specific version of cURL for now, but maybe later. * Fix CI * make fix-all * Add TODOs * Add ssl_version * Update app/i18n/it/index.php Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> --------- Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
Diffstat (limited to 'app/views/index/about.phtml')
-rw-r--r--app/views/index/about.phtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml
index 70f9b6641..fc28608f7 100644
--- a/app/views/index/about.phtml
+++ b/app/views/index/about.phtml
@@ -26,6 +26,14 @@
<dd><?= htmlspecialchars(FRESHRSS_VERSION, ENT_NOQUOTES, 'UTF-8') ?></dd>
<dt><?= _t('index.about.bug_reports.environment_information.version_php') ?></dt>
<dd><?= htmlspecialchars(PHP_VERSION, ENT_NOQUOTES, 'UTF-8') ?></dd>
+ <dt><?= _t('index.about.bug_reports.environment_information.version_curl') ?></dt>
+ <?php
+ $curlVersion = curl_version() ?: [];
+ $curlVersionVersion = is_string($curlVersion['version'] ?? null) ? $curlVersion['version'] : '';
+ $sslversion = is_string($curlVersion['ssl_version'] ?? null) ? $curlVersion['ssl_version'] : '';
+ ?>
+ <dd><?= htmlspecialchars($curlVersionVersion, ENT_NOQUOTES, 'UTF-8') ?></dd>
+ <dd><?= htmlspecialchars($sslversion, ENT_NOQUOTES, 'UTF-8') ?></dd>
<dt><?= _t('index.about.bug_reports.environment_information.database') ?></dt>
<dd><?= htmlspecialchars(FreshRSS_Context::systemConf()->db['type'], ENT_NOQUOTES, 'UTF-8') ?></dd>
<?php $databaseDAO = FreshRSS_Factory::createDatabaseDAO(); ?>