|
|
@@ -18,6 +18,29 @@
|
|
|
<h2><?= _t('index.about.bugs_reports') ?></h2>
|
|
|
<?= _t('index.about.github') ?>
|
|
|
|
|
|
+ <?php if (FreshRSS_Auth::hasAccess('admin')) { ?>
|
|
|
+ <details class="envInfo">
|
|
|
+ <summary><?= _t('index.about.bug_reports.environment_information') ?></summary>
|
|
|
+ <dl>
|
|
|
+ <dt><?= _t('index.about.bug_reports.environment_information.version_frss') ?></dt>
|
|
|
+ <dd><?= FRESHRSS_VERSION ?></dd>
|
|
|
+ <dt><?= _t('index.about.bug_reports.environment_information.version_php') ?></dt>
|
|
|
+ <dd><?= PHP_VERSION ?></dd>
|
|
|
+ <dt><?= _t('index.about.bug_reports.environment_information.database') ?></dt>
|
|
|
+ <dd><?= FreshRSS_Context::systemConf()->db['type'] ?></dd>
|
|
|
+ <?php $databaseDAO = FreshRSS_Factory::createDatabaseDAO(); ?>
|
|
|
+ <dd><?= $databaseDAO->version() ?></dd>
|
|
|
+ <dt><?= _t('index.about.bug_reports.environment_information.server_software') ?></dt>
|
|
|
+ <dd>
|
|
|
+ <?= is_string($_SERVER['SERVER_SOFTWARE'] ?? null) ? $_SERVER['SERVER_SOFTWARE'] : '' ?><br />
|
|
|
+ <?= php_uname('s') . ' ' . php_uname('r') . ' ' . php_uname('v') . ' ' . php_uname('m') ?>
|
|
|
+ </dd>
|
|
|
+ <dt><?= _t('index.about.bug_reports.environment_information.browser') ?></dt>
|
|
|
+ <dd><?= is_string($_SERVER['HTTP_USER_AGENT'] ?? null) ? $_SERVER['HTTP_USER_AGENT'] : '' ?></dd>
|
|
|
+ </dl>
|
|
|
+ </details>
|
|
|
+ <?php } ?>
|
|
|
+
|
|
|
<h2><?= _t('index.about.license') ?></h2>
|
|
|
<?= _t('index.about.agpl3') ?>
|
|
|
|