Contao\CoreBundle\Framework\ContaoFramework::validateInstallation PHP Method

validateInstallation() private method

Validates the installation.
private validateInstallation ( )
    private function validateInstallation()
    {
        if (null === $this->request) {
            return;
        }
        /** @var Config $config */
        $config = $this->getAdapter(Config::class);
        // Show the "incomplete installation" message
        if (!$config->isComplete()) {
            throw new IncompleteInstallationException('The installation has not been completed. Open the Contao install tool to continue.');
        }
    }