src/classes/CCConfig/File.php
protected function path( $name, $env = false )
	{
		$conf = CCPath::get( $name, \CCDIR_CONFIG, static::EXT );
		
		if ( !$env )
		{
			return $conf;
		}
		
		$env_conf = CCPath::get( $name, \CCDIR_CONFIG.ClanCats::environment().'/', static::EXT );
		
		if ( file_exists( $env_conf ) ) 
		{
			return $env_conf;
		}
		
		return $conf;
	}
protected function path( $name, $env = false )
	{
		$conf = CCPath::get( $name, \CCDIR_CONFIG, static::EXT );
		
		if ( !$env )
		{
			return $conf;
		}
		
		$env_conf = CCPath::get( $name, \CCDIR_CONFIG.ClanCats::environment().'/', static::EXT );
		
		if ( file_exists( $env_conf ) ) 
		{
			return $env_conf;
		}
		
		return $conf;
	}
protected function path ( $ name , $ env = false ) { $ conf = CCPath :: get ( $ name , \ CCDIR_CONFIG , static :: EXT ) ; if ( ! $ env ) { return $ conf ; } $ env_conf = CCPath :: get ( $ name , \ CCDIR_CONFIG . ClanCats :: environment ( ) . '/' , static :: EXT ) ; if ( file_exists ( $ env_conf ) ) { return $ env_conf ; } return $ conf ; }
generates a path for a config name

@param string		$name
@param bool		$env
generates a path for a config name