Skip to content

Commit

Permalink
1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 14, 2022
1 parent 3e18982 commit 1a62a45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Fonts/Sprite.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private function datumPoints() {
if (!$this->_datumPoints) {
if (file_exists($this->pathToDatumPoints())) {
try {
$this->_datumPoints = df_json_decode(df_media_read($this->pathToDatumPoints()));
$this->_datumPoints = df_json_decode(df_file_read($this->pathToDatumPoints()));
}
catch (\Exception $e) {
df_log($e->getMessage());
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/google-font"
,"version": "1.2.4"
,"version": "1.2.5"
,"description": "Google Font API."
,"type": "magento2-module"
,"homepage": "https://github.com/mage2pro/google-font"
Expand All @@ -11,6 +11,6 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=7.2.7", "mage2pro/google": "*"}
,"require": {"mage2pro/core": ">=8.1.0", "mage2pro/google": "*"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Df\\GoogleFont\\": ""}}
}

0 comments on commit 1a62a45

Please sign in to comment.