Zeile 6 | Zeile 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 4591 2009-12-09 22:39:38Z RyanGordon $
| * $Id: functions_upload.php 5379 2011-02-21 11:06:42Z Tomm $
|
*/
| */
|
Zeile 323 | Zeile 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 441 | Zeile 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);
|