Skip to content

Commit

Permalink
Merge pull request #75 from FriendsOfREDAXO/skerbis-patch-1
Browse files Browse the repository at this point in the history
file_get_contents durch rex_file::get ersetzt
  • Loading branch information
skerbis authored Sep 11, 2023
2 parents b05e4ec + 15616e6 commit b4d6613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class.minify.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function minify($type, $set = 'default', $output = 'file')
$newCache = [];

if (file_exists(rex_path::addonCache(__CLASS__, $type . '_' . rex_string::normalize($set) . '.json'))) {
$string = file_get_contents(rex_path::addonCache(__CLASS__, $type . '_' . rex_string::normalize($set) . '.json'));
$string = rex_file::get(rex_path::addonCache(__CLASS__, $type . '_' . rex_string::normalize($set) . '.json',''));
$oldCache = json_decode($string, true);
}

Expand Down

0 comments on commit b4d6613

Please sign in to comment.