Update cache.php

pull/11/head
AisukaYuki 4 years ago committed by GitHub
parent 3400e4b6c8
commit e9d5c6e298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,7 +89,7 @@ function write_cache() {
$dbh -> exec($sql);
// 缓存地区错误
} else if (in_array(AREA, $SERVER_AREA)) {
$sql ="INSERT INTO `cache` (`add_time`,`area`,`type`,`cache_tpye`,`cid`,`ep_id`,`cache`) VALUES ('9999999999','".AREA."','".$member_type."','".$cache_type."','".CID."','".EP_ID."','$output')";
$sql ="INSERT INTO `cache` (`add_time`,`area`,`type`,`cache_type`,`cid`,`ep_id`,`cache`) VALUES ('9999999999','".AREA."','".$member_type."','".$cache_type."','".CID."','".EP_ID."','$output')";
if ($code == "-10403") {// 10403 地区错误
$dbh -> exec($sql);
} else if ($code == "-404" && AREA == "th") {// 404 泰版地区错误
@ -97,4 +97,4 @@ function write_cache() {
}
}
}
?>
?>

Loading…
Cancel
Save