protected function loadConfig($alias, $configName)
	{
		if (isset($this->aliases[$alias]))
		{
			$aliasPath = $this->aliases[$alias];
		}
		else
		{
			throw new ClearException("Config Alias [$alias] Not Found.", 4);
		}

		$file = $aliasPath . $configName . '.php';

		if (is_file($file))
		{
			return $this->configs[$alias][$configName] = require $file;
		}
		
		throw new ClearException("The Config File [$file] Not Found.", 4);
	}
protected function loadConfig($alias, $configName)
	{
		if (isset($this->aliases[$alias]))
		{
			$aliasPath = $this->aliases[$alias];
		}
		else
		{
			throw new ClearException("Config Alias [$alias] Not Found.", 4);
		}

		$file = $aliasPath . $configName . '.php';

		if (is_file($file))
		{
			return $this->configs[$alias][$configName] = require $file;
		}
		
		throw new ClearException("The Config File [$file] Not Found.", 4);
	}
protected function loadConfig ( $ alias , $ configName ) { if ( isset ( $ this -> aliases [ $ alias ] ) ) { $ aliasPath = $ this -> aliases [ $ alias ] ; } else { throw new ClearException ( "Config Alias [$alias] Not Found." , 4 ) ; } $ file = $ aliasPath . $ configName . '.php' ; if ( is_file ( $ file ) ) { return $ this -> configs [ $ alias ] [ $ configName ] = require $ file ; } throw new ClearException ( "The Config File [$file] Not Found." , 4 ) ; }
Open and load configs from a file

@param string $alias
@param string $configName
@return array
Open and load configs from a file