Update of /cvsroot/phpcvsview/phpcvsview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16618
Modified Files:
cvsview.php
Log Message:
- Fixed problem changing CVS repositories when you are not at the root of the current repository.
Index: cvsview.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/cvsview.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** cvsview.php 24 Feb 2005 06:37:17 -0000 1.25
--- cvsview.php 16 Apr 2005 02:39:09 -0000 1.26
***************
*** 49,52 ****
--- 49,59 ----
$env['CVSROOT'] = (empty($_COOKIE['config']['CVSROOT'])) ? $config['default_cvs'] : $_COOKIE['config']['CVSROOT'];
if (isset($_GET["cr"])) {
+ $env['mod_path'] = "/";
+ unset($_GET["fh"]);
+ unset($_GET["fa"]);
+ unset($_GET["fv"]);
+ unset($_GET["fd"]);
+ unset($_GET["df"]);
+ unset($_GET["dp"]);
$env['CVSROOT'] = $_GET["cr"];
// Set cookie with theme info. This cookie is set to expire 1 year from today.
|