From ef0035f90f013ee3f3d771d5a2c8847fe2dd1a7f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 01:33:09 +0000 Subject: [PATCH] We now can get the SVN binary to link --- includes/init.php | 4 ++++ includes/svnlib.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/init.php b/includes/init.php index 2d41dd3..1065b97 100644 --- a/includes/init.php +++ b/includes/init.php @@ -64,6 +64,10 @@ $viewsvn->load('template_fs', 'template', true); $template->set('templatedir', './templates/' . $conf['paths']['templateset']); $template->set('extension', 'tpl'); +// ################################################################### +// load options +$viewsvn->svnpath = $conf['paths']['svn']; + // ################################################################### // imaginary reporter require_once('./includes/imaginary.php'); diff --git a/includes/svnlib.php b/includes/svnlib.php index c9790ee..4cd1afc 100644 --- a/includes/svnlib.php +++ b/includes/svnlib.php @@ -56,7 +56,7 @@ class SVNLib { $this->controller =& $controller; - $this->svnpath = $this->controller->xquery->cmd($svnpath); + $this->svnpath =& $this->controller->xquery->cmd($this->controller->registry->svnpath); $access = $this->controller->xquery->exec($this->svnpath . ' --version'); -- 2.22.5