protected function find_file($cache = true)
	{
		if (($this->file[0] === '/' or (isset($this->file[1]) and $this->file[1] === ':')) and is_file($this->file))
		{
			$paths = array($this->file);
		}
		else
		{
			$paths = array_merge(
				\Finder::search('config/'.\Fuel::$env, $this->file, $this->ext, true, $cache),
				\Finder::search('config', $this->file, $this->ext, true, $cache)
			);
		}

		if (empty($paths))
		{
			throw new \ConfigException(sprintf('File "%s" does not exist.', $this->file));
		}

		return array_reverse($paths);
	}
protected function find_file($cache = true)
	{
		if (($this->file[0] === '/' or (isset($this->file[1]) and $this->file[1] === ':')) and is_file($this->file))
		{
			$paths = array($this->file);
		}
		else
		{
			$paths = array_merge(
				\Finder::search('config/'.\Fuel::$env, $this->file, $this->ext, true, $cache),
				\Finder::search('config', $this->file, $this->ext, true, $cache)
			);
		}

		if (empty($paths))
		{
			throw new \ConfigException(sprintf('File "%s" does not exist.', $this->file));
		}

		return array_reverse($paths);
	}
protected function find_file ( $ cache = true ) { if ( ( $ this -> file [ 0 ] === '/' or ( isset ( $ this -> file [ 1 ] ) and $ this -> file [ 1 ] === ':' ) ) and is_file ( $ this -> file ) ) { $ paths = array ( $ this -> file ) ; } else { $ paths = array_merge ( \ Finder :: search ( 'config/' . \ Fuel :: $ env , $ this -> file , $ this -> ext , true , $ cache ) , \ Finder :: search ( 'config' , $ this -> file , $ this -> ext , true , $ cache ) ) ; } if ( empty ( $ paths ) ) { throw new \ ConfigException ( sprintf ( 'File "%s" does not exist.' , $ this -> file ) ) ; } return array_reverse ( $ paths ) ; }
Finds the given config files

@param   bool  $multiple  Whether to load multiple files or not
@return  array
Finds the given config files