Browse Source

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

This reverts commit b0faa1a7e4.
pull/40/head
czaks 10 years ago
parent
commit
276a742bce
  1. 2
      templates/themes/recent/theme.php

2
templates/themes/recent/theme.php

@ -61,7 +61,7 @@
// 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'];
if ($files) $post['src'] = $config['uri_thumb'] . $files[0]->file;
if ($files) $post['src'] = $config['uri_thumb'] . $files[0]->thumb;
$recent_images[] = $post;
}

Loading…
Cancel
Save