public static function getUriFromFile($absolutepath)
	{
		if (self::isWindowsOS())
		{
			$result = "file:///".$absolutepath;

			$search = "\\";
			$replace = "/";

			$result =str_replace($search, $replace, $result);
		}
		else
		{
			$result = "file://".$absolutepath;
		}
		return $result;

	}
public static function getUriFromFile($absolutepath)
	{
		if (self::isWindowsOS())
		{
			$result = "file:///".$absolutepath;

			$search = "\\";
			$replace = "/";

			$result =str_replace($search, $replace, $result);
		}
		else
		{
			$result = "file://".$absolutepath;
		}
		return $result;

	}
public static function getUriFromFile ( $ absolutepath ) { if ( self :: isWindowsOS ( ) ) { $ result = "file:///" . $ absolutepath ; $ search = "\\" ; $ replace = "/" ; $ result = str_replace ( $ search , $ replace , $ result ) ; } else { $ result = "file://" . $ absolutepath ; } return $ result ; }
Get filr from absolute path

@param string $absolutepath Absolute path from file
@return string
Get filr from absolute path