src/Dev/Install/InstallConfig.php
public function alreadyInstalled()
    {
        if (file_exists($this->getEnvPath())) {
            return true;
        }
        if (!file_exists($this->getConfigPath())) {
            return false;
        }
        $configContents = file_get_contents($this->getConfigPath());
        if (strstr($configContents, '$databaseConfig')) {
            return true;
        }
        if (strstr($configContents, '$database')) {
            return true;
        }
        return false;
    }
public function alreadyInstalled()
    {
        if (file_exists($this->getEnvPath())) {
            return true;
        }
        if (!file_exists($this->getConfigPath())) {
            return false;
        }
        $configContents = file_get_contents($this->getConfigPath());
        if (strstr($configContents, '$databaseConfig')) {
            return true;
        }
        if (strstr($configContents, '$database')) {
            return true;
        }
        return false;
    }
public function alreadyInstalled ( ) { if ( file_exists ( $ this -> getEnvPath ( ) ) ) { return true ; } if ( ! file_exists ( $ this -> getConfigPath ( ) ) ) { return false ; } $ configContents = file_get_contents ( $ this -> getConfigPath ( ) ) ; if ( strstr ( $ configContents , '$databaseConfig' ) ) { return true ; } if ( strstr ( $ configContents , '$database' ) ) { return true ; } return false ; }
Check if this site has already been installed

@return bool
Check if this site has already been installed