www.gusucode.com > 迪恩育儿亲子4商城商家+手机版【整站带测试数据】源码程序 > web/source/function/cache/cache_split.php
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: cache_split.php 24152 2011-08-26 10:04:08Z zhangguosheng $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function build_cache_split() { global $_G; $splitcaches = array('threadtableids', 'threadtable_info', 'posttable_info', 'posttableids'); foreach($splitcaches as $splitcache) { loadcache($splitcache); if(empty($_G['cache'][$splitcache])) { savecache($splitcache, ''); } } } ?>