Update webpagetool.php

This commit is contained in:
Namhyeon Go 2019-11-14 13:26:42 +09:00 committed by GitHub
parent 03662ada43
commit 19aa62f289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -487,7 +487,7 @@ if(!check_function_exists("get_web_identifier")) {
if(!check_function_exists("get_web_cache")) {
function get_web_cache($url, $method="get", $data=array(), $proxy="", $ua="", $ct_out=45, $t_out=45, $headers=array()) {
$content = false;
$config = get_config()
$config = get_config();
$cache_enabled = array_key_equals("cache_enabled", $config, 1);
// max_age(seconds), the value 0 is forever