Skip to content

Commit

Permalink
Update webpagetool.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gnh1201 authored Nov 13, 2019
1 parent 7b71a3c commit d373691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/webpagetool.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ function get_web_cache($url, $method="get", $data=array(), $proxy="", $ua="", $c
$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(seconds), the value 0 is forever
"max_age" => get_value_in_array("cache_max_age", $config, 0) // max_age(seconds), the value 0 is forever
));

if($gz_content === false) {
Expand Down

0 comments on commit d373691

Please sign in to comment.