src/Application.php
protected function loadDatabaseConfig()
    {
        if (!$this->databaseConfigFile) {
            return null;
        }

        $configPath = "{$this->path}/{$this->databaseConfigFile}";
        if (file_exists($configPath)) {
            $this->databaseConfig = require $configPath;
        } else {
            throw new Exception("Unable to load database configuration.");
        }
    }
protected function loadDatabaseConfig()
    {
        if (!$this->databaseConfigFile) {
            return null;
        }

        $configPath = "{$this->path}/{$this->databaseConfigFile}";
        if (file_exists($configPath)) {
            $this->databaseConfig = require $configPath;
        } else {
            throw new Exception("Unable to load database configuration.");
        }
    }
protected function loadDatabaseConfig ( ) { if ( ! $ this -> databaseConfigFile ) { return null ; } $ configPath = "{$this->path}/{$this->databaseConfigFile}" ; if ( file_exists ( $ configPath ) ) { $ this -> databaseConfig = require $ configPath ; } else { throw new Exception ( "Unable to load database configuration." ) ; } }
Loads the database configuration file.
Loads the database configuration file .