mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Closes #912
This commit is contained in:
parent
454650b328
commit
5cec84f8e3
2 changed files with 3 additions and 3 deletions
|
@ -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':
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue