/*=====================================================================*\
|| ###################################################################
|| # ViewSVN [#]version[#]
-|| # Copyright ©2002-[#]year[#] Iris Studios, Inc.
+|| # Copyright ©2002-[#]year[#] Blue Static
|| #
|| # This program is free software; you can redistribute it and/or modify
|| # it under the terms of the GNU General Public License as published by
|| ###################################################################
\*=====================================================================*/
-define('PATH_OVERRIDE', 1);
+define('SVN', '$Id$');
require_once('./global.php');
// ###################################################################
-if ($viewsvn->in['repository'])
+if ($input->in['repository'])
{
- if (in_array($viewsvn->in['repository'], $viewsvn->repos->fetch_list()))
+ if (in_array($input->in['repository'], $repos->fetchList()))
{
- header('Location: ' . $viewsvn->path . '/browse.php/' . $viewsvn->in['repository'] . '/');
+ header('Location: ' . BSRegister::Get('webpath') . '/browse/' . $input->in['repository'] . ':');
exit;
}
}
-header('Location: ' . $viewsvn->path . '/index.php');
+header('Location: ' . BSRegister::Get('webpath') . '/index.php');
/*=====================================================================*\
|| ###################################################################