Adding language settings to config.php so that people can control the language output...
[viewsvn.git] / repository.php
index 7f29e0676b96bf38a3523cac96709c8601302e75..55c1f93e8dc5d846831dfbc08bb5884e6a8d171c 100644 (file)
@@ -2,7 +2,7 @@
 /*=====================================================================*\
 || ###################################################################
 || # 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');
 
 /*=====================================================================*\
 || ###################################################################