mirror of
				https://github.com/Mibew/design.git
				synced 2025-10-31 18:41:05 +03:00 
			
		
		
		
	fix: do not cache button image (thanks to Alex Morozov)
This commit is contained in:
		
							parent
							
								
									df590adf81
								
							
						
					
					
						commit
						10e676e05f
					
				| @ -58,6 +58,9 @@ $image_postfix = has_online_operators($groupid) ? "on" : "off"; | ||||
| $filename = "locales/${lang}/button/${image}_${image_postfix}.gif"; | ||||
| 
 | ||||
| $fp = fopen($filename, 'rb') or die("no image"); | ||||
| header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); | ||||
| header("Cache-Control: no-store, no-cache, must-revalidate"); | ||||
| header("Pragma: no-cache"); | ||||
| header("Content-Type: image/gif"); | ||||
| header("Content-Length: ".filesize($filename)); | ||||
| if(function_exists('fpassthru')){ | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user