mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Include OS and client information in easy error info copy/paste and on the about dialog
This commit is contained in:
@@ -71,7 +71,9 @@ class ApplicationService extends BaseService
|
||||
return [
|
||||
'grocy_version' => $this->GetInstalledVersion(),
|
||||
'php_version' => phpversion(),
|
||||
'sqlite_version' => $sqliteVersion
|
||||
'sqlite_version' => $sqliteVersion,
|
||||
'os' => php_uname('s') . ' ' . php_uname('r') . ' ' . php_uname('v') . ' ' . php_uname('m'),
|
||||
'client' => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'unknown'
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user