AJAX_UPGRADE::__construct PHP Method

__construct() public method

public __construct ( )
    function __construct()
    {
        //构造函数
        $this->obj_ajax = new CLASS_AJAX();
        //初始化 AJAX 基对象
        if (file_exists(BG_PATH_CONFIG . "is_install.php")) {
            include_once BG_PATH_CONFIG . "is_install.php";
            //载入栏目控制器
            if (defined("BG_INSTALL_PUB") && PRD_SSO_PUB <= BG_INSTALL_PUB) {
                $this->obj_ajax->halt_alert("x030403");
            }
        }
        $this->upgrade_init();
        $this->mdl_opt = new MODEL_OPT();
    }