function construct_breadcrumb()
{
$html = '/ ';
- $itembit = '/';
$temp = preg_split('#/#', $this->fullpath, -1, PREG_SPLIT_NO_EMPTY);
$count = sizeof($temp) - 1;
foreach ($temp AS $val => $item)
{
- $itembit .= $item;
+ $itembit = $item;
$itembit .= (($count != $val OR $this->cachev->isdir($itembit)) ? '/' : '');
$html .= '<a href="' . $this->href_struct('browse.php' . $this->revstr, ($val == 0 ? '' : $itembit)) . '">' . $item . '</a>'. ($count != $val ? ' / ' : '');
}