1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00

Revert "change thumb to file to overcome a nasty bug in upgrading"

This reverts commit b0faa1a7e4.
This commit is contained in:
czaks 2014-04-27 16:19:41 +02:00
parent a236a17308
commit 276a742bce

View File

@ -61,7 +61,7 @@
// board settings won't be available in the template file, so generate links now // board settings won't be available in the template file, so generate links now
$post['link'] = $config['root'] . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], ($post['thread'] ? $post['thread'] : $post['id'])) . '#' . $post['id']; $post['link'] = $config['root'] . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], ($post['thread'] ? $post['thread'] : $post['id'])) . '#' . $post['id'];
if ($files) $post['src'] = $config['uri_thumb'] . $files[0]->file; if ($files) $post['src'] = $config['uri_thumb'] . $files[0]->thumb;
$recent_images[] = $post; $recent_images[] = $post;
} }