cache.php 443 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. [UCenter] (C)2001-2099 Comsenz Inc.
  4. This is NOT a freeware, use is subject to license terms
  5. $Id: cache.php 1059 2011-03-01 07:25:09Z monkey $
  6. */
  7. !defined('IN_UC') && exit('Access Denied');
  8. class cachecontrol extends base {
  9. function __construct() {
  10. $this->cachecontrol();
  11. }
  12. function cachecontrol() {
  13. parent::__construct();
  14. }
  15. function onupdate($arr) {
  16. $this->load("cache");
  17. $_ENV['cache']->updatedata();
  18. }
  19. }
  20. ?>