original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: generates a path for a config name
  
  @param string		$name
  @param bool		$env
docstring_tokens: generates a path for a config name