forked from friendica/friendica-addons
		
	Only some reformatting of the code.
This commit is contained in:
		
					parent
					
						
							
								bf2d3a8356
							
						
					
				
			
			
				commit
				
					
						cc74af9d09
					
				
			
		
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -111,8 +111,10 @@ function privacy_image_cache_is_local_image($url) {
 | 
			
		|||
 */
 | 
			
		||||
function privacy_image_cache_img_cb($matches) {
 | 
			
		||||
	// following line changed per bug #431
 | 
			
		||||
    if (privacy_image_cache_is_local_image($matches[2])) return $matches[1] . $matches[2] . $matches[3];
 | 
			
		||||
    return $matches[1] . get_app()->get_baseurl() . "/privacy_image_cache/?url=" . escape_tags(addslashes(rawurlencode($matches[2]))) . $matches[3];
 | 
			
		||||
	if (privacy_image_cache_is_local_image($matches[2]))
 | 
			
		||||
		return $matches[1] . $matches[2] . $matches[3];
 | 
			
		||||
 | 
			
		||||
	return $matches[1] . get_app()->get_baseurl() . "/privacy_image_cache/?url=" . escape_tags(addslashes(rawurlencode($matches[2]))) . $matches[3];
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue