hide the PHP error, we'll deal with it ourselves
git-svn-id: file:///home/shish/svn/shimmie2/trunk@377 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
		
							parent
							
								
									dbf31ce80c
								
							
						
					
					
						commit
						eddfaeb59b
					
				| @ -162,7 +162,7 @@ class Upload extends Extension { | ||||
| 				"File too large (".filesize($tmp_filename)." > ". | ||||
| 				($config->get_int('upload_size')).")"); | ||||
| 		} | ||||
| 		else if(!($info = getimagesize($tmp_filename))) { | ||||
| 		else if(!($info = @getimagesize($tmp_filename))) { | ||||
| 			$this->theme->display_upload_error($page, "Error with ".html_escape($filename), | ||||
| 				"PHP doesn't recognise this as an image file"); | ||||
| 		} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user