// advanced path system
else if ($this->type == 2)
{
- return $url[0] . ($addpath{0} != '/' ? '/' : '') . $viewsvn->fetch_sourcepath($addpath) . ($url[1] ? '?' . $url[1] : '');
+ return $url[0] . ($addpath{0} != '/' ? '/' : '') . $addpath . ($url[1] ? '?' . $url[1] : '');
}
}
if ($this->container)
{
- return 'file://' . $this->path . $repository;
+ return 'file://' . $this->path . $repository . '/';
}
else
{
- return 'file://' . $this->path;
+ return 'file://' . $this->path . '/';
}
}
foreach ($viewsvn->repos->fetch_list() AS $repos)
{
- echo '<li><a href="' . $viewsvn->paths->out('browse.php', $repos) . '">' . $repos . '</a></li>';
+ echo '<li><a href="' . $viewsvn->paths->out('browse.php', $repos . '/') . '">' . $repos . '</a></li>';
echo "\n";
}