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: recount_rebuild.php 3790 2008-04-23 22:50:33Z Tikitiki $
| * $Id: recount_rebuild.php 4304 2009-01-02 01:11:56Z chris $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 126 | Zeile 126 |
---|
if($ext == "gif" || $ext == "png" || $ext == "jpg" || $ext == "jpeg" || $ext == "jpe") { $thumbname = str_replace(".attach", "_thumb.$ext", $attachment['attachname']);
|
if($ext == "gif" || $ext == "png" || $ext == "jpg" || $ext == "jpeg" || $ext == "jpe") { $thumbname = str_replace(".attach", "_thumb.$ext", $attachment['attachname']);
|
$thumbnail = generate_thumbnail(MYBB_ROOT."uploads/".$attachment['attachname'], MYBB_ROOT."uploads", $thumbname, $mybb->settings['attachthumbh'], $mybb->settings['attachthumbw']);
| $thumbnail = generate_thumbnail(MYBB_ROOT."uploads/".$attachment['attachname'], MYBB_ROOT."uploads/", $thumbname, $mybb->settings['attachthumbh'], $mybb->settings['attachthumbw']);
|
if($thumbnail['code'] == 4) { $thumbnail['filename'] = "SMALL";
| if($thumbnail['code'] == 4) { $thumbnail['filename'] = "SMALL";
|
Zeile 135 | Zeile 135 |
---|
} }
|
} }
|
check_proceed($num_users, $end, ++$page, $per_page, "attachmentthumbs", "do_rebuildattachmentthumbs", $lang->success_rebuilt_attachment_thumbnails);
| check_proceed($num_attachments, $end, ++$page, $per_page, "attachmentthumbs", "do_rebuildattachmentthumbs", $lang->success_rebuilt_attachment_thumbnails);
|
}
function check_proceed($current, $finish, $next_page, $per_page, $name, $name2, $message)
| }
function check_proceed($current, $finish, $next_page, $per_page, $name, $name2, $message)
|