MyBB Community Forums

Full Version: ACP rebuilding thumbnails ignores uploadpath
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
$thumbnail = generate_thumbnail(MYBB_ROOT."uploads/".$attachment['attachname'], MYBB_ROOT."uploads/", $thumbname, $mybb->settings['attachthumbh'], $mybb->settings['attachthumbw']);

As you can see that code expects the attachment to be in the default directory. However we have a setting for that ($mybb->settings['uploadspath'])

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github:

Thanks for contributing to MyBB!

The MyBB Group