if($db->fetch_field($query, "numreferences") == 0) { delete_uploaded_file($uploadspath_abs."/".$attachment['attachname']);
|
if($db->fetch_field($query, "numreferences") == 0) { delete_uploaded_file($uploadspath_abs."/".$attachment['attachname']);
|
$thumbnail = generate_thumbnail($uploadspath_abs."/".$filename, $uploadspath_abs, $thumbname, $mybb->settings['attachthumbh'], $mybb->settings['attachthumbw']);
|
$thumbnail = generate_thumbnail($uploadspath_abs."/".$filename, $uploadspath_abs, $thumbname, $mybb->settings['attachthumbh'], $mybb->settings['attachthumbw']);
|