Vergleich inc/functions_upload.php - 1.2.2 - 1.2.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: functions_upload.php 2423 2006-11-20 00:16:03Z CraKteR $

 * $Id: functions_upload.php 2598 2007-01-02 17:17:32Z CraKteR $

 */



 */



Zeile 155Zeile 155
		case "image/x-jpg":
case "image/x-jpeg":
case "image/pjpeg":

		case "image/x-jpg":
case "image/x-jpeg":
case "image/pjpeg":

 
		case "image/jpg":

			$img_type = 2;
break;
case "image/png":

			$img_type = 2;
break;
case "image/png":

Zeile 243Zeile 244
	}
$ext = get_extension($attachment['name']);
// Check if we have a valid extension

	}
$ext = get_extension($attachment['name']);
// Check if we have a valid extension

	$query = $db->simple_select(TABLE_PREFIX."attachtypes", "*", "extension='$ext'");

	$query = $db->simple_select(TABLE_PREFIX."attachtypes", "*", "extension='".$db->escape_string($ext)."'");

	$attachtype = $db->fetch_array($query);
if(!$attachtype['atid'])
{

	$attachtype = $db->fetch_array($query);
if(!$attachtype['atid'])
{

Zeile 330Zeile 331
			case "image/x-jpg":
case "image/x-jpeg":
case "image/pjpeg":

			case "image/x-jpg":
case "image/x-jpeg":
case "image/pjpeg":

 
			case "image/jpg":

				$img_type = 2;
break;
case "image/png":

				$img_type = 2;
break;
case "image/png":