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