cache_admingroups.php 414 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * [Discuz!] (C)2001-2099 Comsenz Inc.
  4. * This is NOT a freeware, use is subject to license terms
  5. *
  6. * $Id: cache_admingroups.php 24830 2011-10-12 08:23:34Z zhangguosheng $
  7. */
  8. if(!defined('IN_DISCUZ')) {
  9. exit('Access Denied');
  10. }
  11. function build_cache_admingroups() {
  12. foreach(C::t('common_admingroup')->range() as $data) {
  13. savecache('admingroup_'.$data['admingid'], $data);
  14. }
  15. }
  16. ?>