예제 #1
0
 /**
  * 写入所有缓存
  */
 static function writeAll()
 {
     YdCache::deleteAll();
     //仅更新Core,home/config即可,其它缓存会自动生成
     YdCache::writeCore();
     YdCache::writeHomeConfig();
     //重写Home分组主题名称
     YdCache::writeWapConfig();
     //重写Wap分组主题名称
     YdCache::writeDomain();
     //重写多域名配置缓存
     YdCache::writeHtml();
     //重写Html静态规则配置
     YdCache::writeWater();
     YdCache::writeUpload();
     YdCache::writeBaiduShare();
     YdCache::writeBasic();
     YdCache::writeComment();
     YdCache::writeContact();
     YdCache::writeGuestbook();
     YdCache::writeTag();
     YdCache::writeThumb();
     YdCache::writeSeo();
     YdCache::writeReg();
     YdCache::writeOrder();
     YdCache::writeStat();
     YdCache::writeWap();
     YdCache::writeOther();
     YdCache::writeChannel();
     //频道缓存
 }
예제 #2
0
 static function writeAll()
 {
     YdCache::deleteAll();
     YdCache::writeCore();
     YdCache::writeHomeConfig();
     YdCache::writeWapConfig();
     YdCache::writeDomain();
     YdCache::writeHtml();
     YdCache::writeWater();
     YdCache::writeUpload();
     YdCache::writeBaiduShare();
     YdCache::writeBasic();
     YdCache::writeComment();
     YdCache::writeContact();
     YdCache::writeGuestbook();
     YdCache::writeTag();
     YdCache::writeThumb();
     YdCache::writeSeo();
     YdCache::writeReg();
     YdCache::writeOrder();
     YdCache::writeStat();
     YdCache::writeWap();
     YdCache::writeOther();
     YdCache::writeChannel();
 }