mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
debug: fix highlight of redirect HTTP status
1xx status is not that common.
This commit is contained in:
@ -12,7 +12,7 @@ if ($statusCode === null) {
|
||||
}
|
||||
if ($statusCode >= 200 && $statusCode < 300) {
|
||||
$class = 'label-success';
|
||||
} elseif ($statusCode >= 100 && $statusCode < 200) {
|
||||
} elseif ($statusCode >= 300 && $statusCode < 400) {
|
||||
$class = 'label-info';
|
||||
} else {
|
||||
$class = 'label-important';
|
||||
|
||||
Reference in New Issue
Block a user