예제 #1
0
function reAllCache()
{
    global $arrSideModule;
    categories_recount();
    categories_recache();
    calendar_recache();
    statistics_recache();
    hottags_recache();
    archives_recache();
    links_recache();
    filters_recache();
    keywords_recache();
    recentLogs_recache();
    recentComments_recache();
    recentGbooks_recache();
    logsTitle_recache();
    modulesSetting_recache();
    download_recache();
    attachments_recache();
    members_recache();
    skinlist_recache();
    online_recache();
    logs_sidebar_recache($arrSideModule);
}
예제 #2
0
                break;
            case 'logsTitle':
                logsTitle_recache();
                $str .= "," . $cacheArr[$curCache];
                break;
            case 'modulesSetting':
                modulesSetting_recache();
                $str .= "," . $cacheArr[$curCache];
                break;
            case 'attachments':
                download_recache();
                attachments_recache();
                $str .= "," . $cacheArr[$curCache];
                break;
            case 'skinlist':
                skinlist_recache();
                $str .= "," . $cacheArr[$curCache];
                break;
        }
    }
    $ActionMessage = substr($str, 1) . " {$strCacheTitle}{$strUpdate}{$strSuccess}";
    $action = "";
}
$edit_url = "{$PHP_SELF}";
//查找连接
if ($action == "") {
    // 查找
    $title = "{$strCacheTitle}";
    $cachedb = array();
    foreach ($cacheArr as $name => $desc) {
        $filepath = F2BLOG_ROOT . "cache/cache_" . $name . '.php';