Vergleich inc/functions_upload.php - 1.4.10 - 1.4.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: functions_upload.php 4560 2009-11-29 17:41:51Z RyanGordon $

 * $Id: functions_upload.php 4864 2010-04-10 09:13:19Z RyanGordon $

 */



 */



Zeile 323Zeile 323
		return $ret;		
}
// Everything is okay so lets delete old avatars for this user

		return $ret;		
}
// Everything is okay so lets delete old avatars for this user

	remove_avatars($user['uid'], $filename);

	remove_avatars($uid, $filename);


$ret = array(
"avatar" => $mybb->settings['avataruploadpath']."/".$filename,


$ret = array(
"avatar" => $mybb->settings['avataruploadpath']."/".$filename,

Zeile 441Zeile 441
	}

// All seems to be good, lets move the attachment!

	}

// All seems to be good, lets move the attachment!

	$filename = "post_".$mybb->user['uid']."_".TIME_NOW."_".md5(uniqid(rand(),�true)).".attach";

	$filename = "post_".$mybb->user['uid']."_".TIME_NOW."_".md5(random_str()).".attach";

	
$file = upload_file($attachment, $mybb->settings['uploadspath']."/".$month_dir, $filename);


	
$file = upload_file($attachment, $mybb->settings['uploadspath']."/".$month_dir, $filename);