You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
445 B
PHTML
29 lines
445 B
PHTML
5 years ago
|
<?php
|
||
|
|
||
|
/*
|
||
|
[UCenter] (C)2001-2009 Comsenz Inc.
|
||
|
This is NOT a freeware, use is subject to license terms
|
||
|
|
||
|
$Id: cache.php 753 2008-11-14 06:48:25Z cnteacher $
|
||
|
*/
|
||
|
|
||
|
!defined('IN_UC') && exit('Access Denied');
|
||
|
|
||
|
class cachecontrol extends base {
|
||
|
|
||
|
function __construct() {
|
||
|
$this->cachecontrol();
|
||
|
}
|
||
|
|
||
|
function cachecontrol() {
|
||
|
parent::__construct();
|
||
|
}
|
||
|
|
||
|
function onupdate($arr) {
|
||
|
$this->load("cache");
|
||
|
$_ENV['cache']->updatedata();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|