From 5cec84f8e371df5dd91590ef0746904955d26468 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 1 Mar 2019 00:16:11 -0700 Subject: [PATCH] Closes #912 --- app/Http/Controllers/Admin/AdminSettingsController.php | 2 +- resources/views/admin/settings/system.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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']}}

- +