From 9aa8e5e279038a462da5c440c20fe559b115b9e4 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 20:01:52 +0000 Subject: [PATCH] Can't use out() in construct_file_changes() --- includes/svncommon.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/svncommon.php b/includes/svncommon.php index c1f4c8e..70d293d 100644 --- a/includes/svncommon.php +++ b/includes/svncommon.php @@ -216,10 +216,10 @@ class SVNCommon $class = 'file_move'; $tooltip = 'Moved/Copied'; preg_match('#(.*):([0-9]+)#', $file['from'], $matches); - $link['from'] = $viewsvn->paths->out('view.php' . $viewsvn->paths->fetch_rev_str(false, $matches[2]), $repos . $matches[1]); + $link['from'] = $viewsvn->path . '/view.php/' . $repos . '/' . $matches[1] . Paths::fetch_rev_str(false, $matches[2]); } - $link['file'] = $viewsvn->paths->out('view.php' . $viewsvn->paths->fetch_rev_str(false, $revision), $repos . $file['file']); + $link['file'] = $viewsvn->path . '/view.php/' . $repos . '/' . $file['file'] . Paths::fetch_rev_str(false, $revision); eval('$files .= "' . $viewsvn->template->fetch('file_change') . '";'); } -- 2.22.5