DiscuzX/upload/uc_server/model/version.php

33 lines
575 B
PHP
Raw Normal View History

2016-12-15 08:20:54 -05:00
<?php
/*
[UCenter] (C)2001-2099 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: user.php 753 2008-11-14 06:48:25Z cnteacher $
*/
!defined('IN_UC') && exit('Access Denied');
class versionmodel {
var $db;
var $base;
function __construct(&$base) {
$this->versionmodel($base);
}
function versionmodel(&$base) {
$this->base = $base;
$this->db = $base->db;
}
function check() {
$data = $this->db->result_first("SELECT v FROM ".UC_DBTABLEPRE."settings WHERE k='version'");
return $data;
}
}
?>