https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d5ad33
)
We have to use viewsvn::paths::isdir() but we'll silence it
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 11 Sep 2005 22:23:40 +0000
(22:23 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 11 Sep 2005 22:23:40 +0000
(22:23 +0000)
includes/paths.php
patch
|
blob
|
history
diff --git
a/includes/paths.php
b/includes/paths.php
index 5266736452dfeb3480ebcd50f171f2e6bbb763e3..2dbf7c2fe138691817aee977a2f4fbfeb35e1844 100644
(file)
--- a/
includes/paths.php
+++ b/
includes/paths.php
@@
-152,7
+152,8
@@
class Paths
foreach ($temp AS $val => $item)
{
- $itembit .= $item . ($count != $val ? '/' : '');
+ $itembit .= $item;
+ $itembit .= (($count != $val OR @$viewsvn->svn->common->isdir($itembit)) ? '/' : '');
$html .= '<a href="' . $viewsvn->path . '/' . $this->out('browse.php' . $this->fetch_rev_str(), $itembit) . '">' . $item . '</a>'. ($count != $val ? ' / ' : '');
}