fuel/fuel/core/classes/uri.php
public static function base($include_index = true)
	{
		$url = \Config::get('base_url');

		if ($include_index and \Config::get('index_file'))
		{
			$url .= \Config::get('index_file').'/';
		}

		return $url;
	}
public static function base($include_index = true)
	{
		$url = \Config::get('base_url');

		if ($include_index and \Config::get('index_file'))
		{
			$url .= \Config::get('index_file').'/';
		}

		return $url;
	}
public static function base ( $ include_index = true ) { $ url = \ Config :: get ( 'base_url' ) ; if ( $ include_index and \ Config :: get ( 'index_file' ) ) { $ url .= \ Config :: get ( 'index_file' ) . '/' ; } return $ url ; }
Gets the base URL, including the index_file if wanted.

@param   bool    $include_index  Whether to include index.php in the URL
@return  string
Gets the base URL including the index_file if wanted .