Tweak UI
This commit is contained in:
parent
ad1201b226
commit
10d0957d66
|
|
@ -376,9 +376,9 @@ class AdminController extends Controller
|
||||||
if (option('enable_redis')) {
|
if (option('enable_redis')) {
|
||||||
try {
|
try {
|
||||||
Redis::ping();
|
Redis::ping();
|
||||||
$redis->addMessage(trans('options.redis.connect.success'), 'success');
|
$redis->addAlert(trans('options.redis.connect.success'), 'success');
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$redis->addMessage(
|
$redis->addAlert(
|
||||||
trans('options.redis.connect.failed', ['msg' => $e->getMessage()]),
|
trans('options.redis.connect.failed', ['msg' => $e->getMessage()]),
|
||||||
'danger'
|
'danger'
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user