public function install(array $data, $db)
    {
        $this->db = $db;
        $this->data = $data;
        $this->data['step'] = 0;

        if (GC_CLI) {
            $this->installCli();
            return array();
        }

        return $this->installHttp();
    }
public function install(array $data, $db)
    {
        $this->db = $db;
        $this->data = $data;
        $this->data['step'] = 0;

        if (GC_CLI) {
            $this->installCli();
            return array();
        }

        return $this->installHttp();
    }
public function install ( array $ data , $ db ) { $ this -> db = $ db ; $ this -> data = $ data ; $ this -> data [ 'step' ] = 0 ; if ( GC_CLI ) { $ this -> installCli ( ) ; return array ( ) ; } return $ this -> installHttp ( ) ; }
Performs initial system installation. Step 0
@param array $data
@param \gplcart\core\Database $db
@return array
Performs initial system installation . Step 0