|| ###################################################################
\*=====================================================================*/
-define('PATH_OVERRIDE', 1);
-
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');
/*=====================================================================*\
|| ###################################################################