Skip to content

Firefly III: a personal finances manager

Add info to debug logs.

James Cole6fa7b30cceea
diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php
index b30dc72cdc..2b74bdf588 100644
--- a/app/Http/Controllers/DebugController.php
+++ b/app/Http/Controllers/DebugController.php
@@ -465,6 +465,7 @@ final class DebugController extends Controller
'build_time' => config('firefly.build_time'),
'build_time_nice' => Carbon::parse(config('firefly.build_time'), 'Europe/Amsterdam')->setTimezone('Europe/Amsterdam')->format('Y-m-d H:i:s e'),
'uname' => php_uname('m'),
+ 'installation_id' => AppConfiguration::get('installation_id', '(no ID)')->data,
'interface' => PHP_SAPI,
'bits' => PHP_INT_SIZE * 8,
'bcscale' => bcscale(),
diff --git a/resources/views/partials/debug-table.blade.php b/resources/views/partials/debug-table.blade.php
index f3b044de51..4a43edb609 100644
--- a/resources/views/partials/debug-table.blade.php
+++ b/resources/views/partials/debug-table.blade.php
@@ -14,6 +14,10 @@
<td>Firefly III</td>
<td>{!! $FF_IS_DEVELOP ? '<!-- .Z9JBCmw64Zkx1pQw -->' : 'v' !!}{{ $FF_VERSION }}</td>
</tr>
+ <tr>
+ <td>Installation ID</td>
+ <td>{{ $system['installation_id'] }}</td>
+ </tr>
<tr>
<td>Build time</td>
<td>{{ $system['build_time_nice'] }} ({{ $system['build_time'] }})</td>