cache.php 527 B

12345678910111213141516171819202122232425262728293031
  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. {
  10. function __construct()
  11. {
  12. $this->cachecontrol();
  13. }
  14. function cachecontrol()
  15. {
  16. parent::__construct();
  17. }
  18. function onupdate($arr)
  19. {
  20. $this->load("cache");
  21. $_ENV['cache']->updatedata();
  22. }
  23. }