ElggInstaller::bootstrapConfig PHP Method

bootstrapConfig() protected method

Set up configuration variables
protected bootstrapConfig ( ) : void
return void
    protected function bootstrapConfig()
    {
        $this->CONFIG->installer_running = true;
        $this->CONFIG->wwwroot = $this->getBaseUrl();
        $this->CONFIG->url = $this->CONFIG->wwwroot;
        $this->CONFIG->path = \Elgg\Application::elggDir()->getPath() . "/";
        $this->view_path = $this->CONFIG->path . 'views/';
        $this->CONFIG->pluginspath = $this->CONFIG->path . 'mod/';
        $this->CONFIG->context = array();
        $this->CONFIG->entity_types = array('group', 'object', 'site', 'user');
        // required by elgg_view_page()
        $this->CONFIG->sitename = '';
        $this->CONFIG->sitedescription = '';
        // required by Elgg\Config::get
        $this->CONFIG->site_guid = 1;
    }