diff --git a/app/Http/Controllers/Admin/AdminSettingsController.php b/app/Http/Controllers/Admin/AdminSettingsController.php index 6d4156762..65d981627 100644 --- a/app/Http/Controllers/Admin/AdminSettingsController.php +++ b/app/Http/Controllers/Admin/AdminSettingsController.php @@ -106,7 +106,7 @@ trait AdminSettingsController $sys = [ 'pixelfed' => config('pixelfed.version'), 'php' => phpversion(), - 'redis' => explode(' ',exec('redis-cli -v'))[1], + 'laravel' => app()->version(), ]; switch (config('database.default')) { case 'pgsql': diff --git a/resources/views/admin/settings/system.blade.php b/resources/views/admin/settings/system.blade.php index 1f72bf230..77d73fcd8 100644 --- a/resources/views/admin/settings/system.blade.php +++ b/resources/views/admin/settings/system.blade.php @@ -37,9 +37,9 @@
-

{{$sys['redis']}}

+

{{$sys['laravel']}}

- +