Skip to content

Commit

Permalink
Updated core, image formats
Browse files Browse the repository at this point in the history
  • Loading branch information
markseuffert committed Apr 21, 2024
1 parent 123ec7d commit 707e8da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion system/extensions/update-available.ini
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
Published: 2024-04-20 15:24:55
Published: 2024-04-21 11:10:25
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: coreupdate.txt, update
Expand Down
2 changes: 1 addition & 1 deletion system/extensions/yellow-extension.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
Published: 2024-04-20 15:24:55
Published: 2024-04-21 11:10:25
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: coreupdate.txt, update
Expand Down
2 changes: 1 addition & 1 deletion system/workers/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -2816,7 +2816,7 @@ public function detectImageInformation($fileName, $fileType = "") {
($dataMarker>="\xcd" && $dataMarker<="\xcf")) {
$width = (ord($dataBuffer[$pos+7])<<8) + ord($dataBuffer[$pos+8]);
$height = (ord($dataBuffer[$pos+5])<<8) + ord($dataBuffer[$pos+6]);
$type = $fileType;
$type = "jpeg";
break;
}
$length = (ord($dataBuffer[$pos+2])<<8) + ord($dataBuffer[$pos+3]) + 2;
Expand Down

0 comments on commit 707e8da

Please sign in to comment.