This commit is contained in:
Daniel Supernault 2019-03-01 00:16:11 -07:00
parent 454650b328
commit 5cec84f8e3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ trait AdminSettingsController
$sys = [ $sys = [
'pixelfed' => config('pixelfed.version'), 'pixelfed' => config('pixelfed.version'),
'php' => phpversion(), 'php' => phpversion(),
'redis' => explode(' ',exec('redis-cli -v'))[1], 'laravel' => app()->version(),
]; ];
switch (config('database.default')) { switch (config('database.default')) {
case 'pgsql': case 'pgsql':

View file

@ -37,9 +37,9 @@
<div class="col-12 col-md-3"> <div class="col-12 col-md-3">
<div class="card mb-3 border-left-blue"> <div class="card mb-3 border-left-blue">
<div class="card-body text-center"> <div class="card-body text-center">
<p class="font-weight-ultralight h2 mb-0 text-truncate">{{$sys['redis']}}</p> <p class="font-weight-ultralight h2 mb-0 text-truncate">{{$sys['laravel']}}</p>
</div> </div>
<div class="card-footer font-weight-bold py-0 text-center bg-white">Redis</div> <div class="card-footer font-weight-bold py-0 text-center bg-white">Laravel</div>
</div> </div>
</div> </div>
</div> </div>