API_INSTALL::__construct PHP Метод

__construct() публичный Метод

public __construct ( )
    function __construct()
    {
        //构造函数
        $this->obj_api = new CLASS_API();
        $this->mdl_opt = new MODEL_OPT();
        //本接口只在安装状态下起作用
        if (file_exists(BG_PATH_CONFIG . "is_install.php")) {
            $_arr_return = array("alert" => "x030403");
            $this->obj_api->halt_re($_arr_return);
        }
        $this->install_init();
    }