Skip to content

Commit

Permalink
release version 2.0.49.4
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Jun 10, 2024
1 parent 62d081f commit 64a1393
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion framework/BaseYii.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class BaseYii
*/
public static function getVersion()
{
return '2.0.49.3';
return '2.0.49.4';
}

/**
Expand Down
12 changes: 10 additions & 2 deletions framework/helpers/mimeExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,10 @@
'font/woff' => 'woff',
'font/woff2' => 'woff2',
'image/apng' => 'apng',
'image/avif' => 'avif',
'image/avif' => [
'avif',
'avif',
],
'image/bmp' => 'bmp',
'image/cgm' => 'cgm',
'image/g3fax' => 'g3',
Expand Down Expand Up @@ -1041,7 +1044,6 @@
'model/vnd.dwf' => 'dwf',
'model/vnd.gdl' => 'gdl',
'model/vnd.gtw' => 'gtw',
'model/vnd.mts' => 'mts',
'model/vnd.vtu' => 'vtu',
'model/vrml' => [
'wrl',
Expand Down Expand Up @@ -1165,6 +1167,12 @@
'mj2',
'mjp2',
],
'video/mp2t' => [
'ts',
'm2t',
'm2ts',
'mts',
],
'video/mp4' => [
'mp4',
'mp4v',
Expand Down
5 changes: 4 additions & 1 deletion framework/helpers/mimeTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@
'm1v' => 'video/mpeg',
'm21' => 'application/mp21',
'm2a' => 'audio/mpeg',
'm2t' => 'video/mp2t',
'm2ts' => 'video/mp2t',
'm2v' => 'video/mpeg',
'm3a' => 'audio/mpeg',
'm3u' => 'audio/x-mpegurl',
Expand Down Expand Up @@ -503,7 +505,7 @@
'msi' => 'application/x-msdownload',
'msl' => 'application/vnd.mobius.msl',
'msty' => 'application/vnd.muvee.style',
'mts' => 'model/vnd.mts',
'mts' => 'video/mp2t',
'mus' => 'application/vnd.musician',
'musicxml' => 'application/vnd.recordare.musicxml+xml',
'mvb' => 'application/x-msmediaview',
Expand Down Expand Up @@ -818,6 +820,7 @@
'tr' => 'text/troff',
'tra' => 'application/vnd.trueapp',
'trm' => 'application/x-msterminal',
'ts' => 'video/mp2t',
'tsd' => 'application/timestamped-data',
'tsv' => 'text/tab-separated-values',
'ttc' => 'font/collection',
Expand Down

0 comments on commit 64a1393

Please sign in to comment.