diff options
author | Andrew Dolgov <[email protected]> | 2021-02-22 23:23:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-22 23:23:03 +0300 |
commit | f999a5df1c85678ce70c5c7c9f82565aade52229 (patch) | |
tree | b6504758911780f1fd77c6869499ac4eba0c911a | |
parent | 31674f94a73b13823547542a5d44efc647f392ba (diff) |
updates for config::
-rw-r--r-- | init.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ class Api_Resize_Media extends Plugin { } } else { - $data = fetch_file_contents(["url" => $url, "max_size" => MAX_CACHE_FILE_SIZE]); + $data = fetch_file_contents(["url" => $url, "max_size" => Config::get(Config::MAX_CACHE_FILE_SIZE)]); if ($data) { if ($this->cache->put($local_filename, $data)) { |