protected function loadWordPress()
    {
        $this->defineGlobals();

        if ($this->config['multisite']) {
            $this->debug('Running as multisite');
        } else {
            $this->debug('Running as single site');
        }

        require_once dirname(dirname(__DIR__)) . '/includes/functions.php';

        if (!empty($this->config['loadOnly'])) {
            $this->bootstrapWP();
        } else {
            $this->installAndBootstrapInstallation();
        }
    }