mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	use FILEINFO_MIME_TYPE instead of FILEINFO_MIME (Closes Bug #209)
This commit is contained in:
		
							parent
							
								
									a7763c8cc4
								
							
						
					
					
						commit
						2a0e6edef4
					
				|  | @ -145,7 +145,7 @@ $user = $dms->getUser(1); | |||
| 
 | ||||
| if(is_readable($filename)) { | ||||
| 	if(filesize($filename)) { | ||||
| 		$finfo = new finfo(FILEINFO_MIME); | ||||
| 		$finfo = new finfo(FILEINFO_MIME_TYPE); | ||||
| 		if(!$mimetype) { | ||||
| 			$mimetype = $finfo->file($filename); | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann