Subversion-Projekte lars-tiefland.ci

Revision

Revision 2049 | Revision 2242 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2049 Revision 2107
Zeile 1310... Zeile 1310...
1310
					}
1310
					}
1311
				}
1311
				}
1312
			}
1312
			}
1313
		}
1313
		}
Zeile 1314... Zeile 1314...
1314
 
1314
 
1315
		// Fall back to the deprecated mime_content_type(), if available (still better than $_FILES[$field]['type'])
1315
		// Fall back to mime_content_type(), if available (still better than $_FILES[$field]['type'])
1316
		if (function_exists('mime_content_type'))
1316
		if (function_exists('mime_content_type'))
1317
		{
1317
		{
1318
			$this->file_type = @mime_content_type($file['tmp_name']);
1318
			$this->file_type = @mime_content_type($file['tmp_name']);
1319
			if (strlen($this->file_type) > 0) // It's possible that mime_content_type() returns FALSE or an empty string
1319
			if (strlen($this->file_type) > 0) // It's possible that mime_content_type() returns FALSE or an empty string