Update webpagetool.php

This commit is contained in:
Namhyeon Go 2019-11-13 17:09:16 +09:00 committed by GitHub
parent c73419b220
commit c58c37f476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -492,7 +492,7 @@ if(!check_function_exists("get_web_cache")) {
$identifier = get_web_identifier($url, $method, $data);
$gz_content = read_storage_file($identifier, array(
"storage_type" => "cache",
"max_age" => get_value_in_array("cache_max_age", $options, 0)
"max_age" => get_value_in_array("cache_max_age", $options, 0) // max_age(seconds), the value 0 is forever
));
if($gz_content === false) {