Skip to content

Commit beff75b

Browse files
committed
[et] add nice_urls / client version to system info
1 parent 0ef1142 commit beff75b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ about: Create a report to help us improve
77
**Server Software**
88
(You can get all these stats from `http://<your site>/system_info`)
99

10-
- Shimmie version:
10+
- Shimmie version: [2.1.0, 2.13.0-dev-20260220-3406022, ...]
1111
- Install method: [Docker, Git, Zip, ...]
1212
- Server OS: [Windows 11, Debian, Arch, MacOS, ...]
1313
- Database: [mysql, postgres, ...]
1414
- Web server: [apache, nginx, ...]
15+
- Theme: [default, danbooru2, ...]
16+
- Nice URLs: [enabled, disabled]
1517

1618
**Client Software (please complete the following information)**
1719
- Device: [e.g. iphone, windows desktop]
@@ -27,4 +29,3 @@ A clear and concise description of what you expected to happen.
2729

2830
**What actually happened?**
2931
If applicable, add screenshots to help explain your problem.
30-

ext/et/main.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ private function get_site_info(): array
8181
'title' => $config->get(SetupConfig::TITLE),
8282
'theme' => $config->get(SetupConfig::THEME),
8383
'url' => (string)(make_link("")->asAbsolute()),
84+
'nice_urls' => Url::are_niceurls_enabled(),
8485
],
8586
"versions" => [
8687
'shimmie' => SysConfig::getVersion(),
@@ -89,6 +90,7 @@ private function get_site_info(): array
8990
'db' => $database->get_driver_id()->value . " " . $database->get_version(),
9091
'os' => php_uname(),
9192
'server' => $_SERVER["SERVER_SOFTWARE"] ?? 'unknown',
93+
'client' => $_SERVER["HTTP_USER_AGENT"] ?? 'unknown',
9294
],
9395
"extensions" => [
9496
"core" => $core_exts,

0 commit comments

Comments
 (0)