Ejemplo n.º 1
0
 function update_cache($one, $two)
 {
     include LIB_PATH . "datacall.class.php";
     $call = new datacall("../data/plus/data/", $this->obj);
     $row = $call->editcache($one);
     if ($two[id] != "") {
         echo "正在更新" . $row[name] . "...请稍后!";
     }
     if ($two['id']) {
         echo "<script>location.href='index.php?m=datacall&c=cache&id=" . $two[id] . "'</script>";
         die;
     } else {
         $this->layer_msg('缓存更新成功!', 9, 0, "index.php?m=datacall");
     }
 }