improve announce check authkey

This commit is contained in:
xiaomlove
2022-11-06 16:12:15 +08:00
parent b5451cecd6
commit 80cb362ed7
9 changed files with 40 additions and 255 deletions
+1 -1
View File
@@ -4844,7 +4844,7 @@ function get_plain_username($id){
function get_searchbox_value($mode = 1, $item = 'showsubcat'){
global $Cache;
static $rows;
$cacheKey = "search_box_content_{$mode}";
$cacheKey = "search_box_content";
if (!$rows && !$rows = $Cache->get_value($cacheKey)){
$rows = array();
$res = sql_query("SELECT * FROM searchbox ORDER BY id ASC");