Airship\Installer\Install::fastFinish PHP Method

fastFinish() protected method

protected fastFinish ( array $post ) : array
$post array
return array
    protected function fastFinish(array $post) : array
    {
        $scheme = AutoPilot::isHTTPSConnection() ? 'https' : 'http';
        $this->data['cabins'] = ['Bridge' => ['path' => '*/bridge', 'canon_url' => $scheme . '://' . $_SERVER['HTTP_HOST'] . '/bridge/', 'lange' => 'en-us'], 'Hull' => ['path' => '*', 'canon_url' => $scheme . '://' . $_SERVER['HTTP_HOST'] . '/', 'lange' => 'en-us']];
        $this->data['config_extra'] = ['Bridge' => ['editor' => ['default-format' => 'Rich Text'], 'board' => ['enabled' => false, 'captcha' => false], 'file' => ['cache' => 3600], 'recaptcha' => ['site-key' => '', 'secret-key' => ''], 'password-reset' => ['enabled' => false, 'logout' => true, 'ttl' => 3600], 'two-factor' => ['label' => '', 'issuer' => '', 'length' => 6, 'period' => 30]], 'Hull' => ['blog' => ['per_page' => 20, 'comments' => ['depth_max' => 5, 'enabled' => true, 'guests' => false, 'recaptcha' => false]], 'file' => ['cache' => 3600], 'homepage' => ['blog-posts' => 3], 'recaptcha' => ['site-key' => '', 'secret-key' => '']]];
        $this->data['twig_vars'] = ['Bridge' => ['active-motif' => 'airship-classic', 'title' => 'Airship ' . \AIRSHIP_VERSION, 'tagline' => 'Even the sky shall not limit you.'], 'Hull' => ['active-motif' => 'airship-classic', 'blog' => ['title' => 'My Blog', 'tagline' => 'Something classy goes here'], 'navbar' => [['url' => '~/', 'label' => 'Home'], ['url' => '~/about', 'label' => 'About'], ['url' => '~/contact', 'label' => 'Contact'], ['url' => '~/blog', 'label' => 'Blog']], 'title' => 'Airship ' . \AIRSHIP_VERSION, 'tagline' => 'Even the sky shall not limit you.']];
        $this->data['config'] = ['auto-update' => ['check' => 3600, 'major' => false, 'minor' => true, 'patch' => true], 'guest-groups' => [1], 'ledger' => ['driver' => 'file', 'path' => '~/tmp/logs']];
        if (empty($this->data['admin'])) {
            $state = State::instance();
            $this->data['admin'] = ['username' => $post['username'], 'passphrase' => Password::hash($post['passphrase'], $state->keyring['auth.password_key'])];
        }
        return ['database' => $this->data['database'], 'username' => $post['username'], 'cabin' => $this->data['cabins'], 'config' => $this->data['config'], 'config_extra' => $this->data['config_extra'], 'twig_vars' => $this->data['twig_vars']];
    }