From 15616e6db43449c63ef87f93cbdddfc3efd41797 Mon Sep 17 00:00:00 2001 From: Thomas Skerbis Date: Mon, 11 Sep 2023 13:45:17 +0200 Subject: [PATCH] file_get_contents durch rex_file::get ersetzt --- lib/class.minify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class.minify.php b/lib/class.minify.php index 8776a5c..7437654 100755 --- a/lib/class.minify.php +++ b/lib/class.minify.php @@ -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); }