Update of /cvsroot/phpcvsview/phpcvsview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12712
Modified Files:
cvsview.php
Added Files:
config.php
Log Message:
Added config.php to project to store the configuration data.
--- NEW FILE: config.php ---
<?php
/**
* This source code is distributed under the terms as layed out in the
* GNU General Public License.
*
* Purpose: To store the configuration for this instance of phpCVSView
*
* @author Brian A Cheeseman <br...@bc...>
* @version $Id:
* @copyright 2003 Brian A Cheeseman
**/
global $CVSROOT, $PServer, $UserName, $Password, $HTMLTitle, $HTMLHeading, $HTMLTblHdBg, $HTMLTblCell1, $HTMLTblCell2;
// The CVSROOT path to access. For sourceforge you need the usual expansion
// of the path based on the project name.
$CVSROOT = "/cvsroot/phpcvsview";
// The hostname (or IP Address) of the server providing the PServer services.
$PServer = "cvs.sourceforge.net";
// The username to pass to the PServer for authentication purposes.
$UserName = "anonymous";
// The password associated with the username above for authentication process.
$Password = "";
// The HTMLTitle and HTMLHeading are used purely for the generation of the
// resultant web pages.
$HTMLTitle = "phpCVSView Source Code Library";
$HTMLHeading = "phpCVSView Source Code Library";
$HTMLTblHdBg = "#CCCCCC";
$HTMLTblCell1 = "#FFFFFF";
$HTMLTblCell2 = "#CCCCEE";
?>
Index: cvsview.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/cvsview.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** cvsview.php 2 Oct 2004 00:31:04 -0000 1.8
--- cvsview.php 2 Oct 2004 00:49:25 -0000 1.9
***************
*** 17,45 ****
*
**/
- // The CVSROOT path to access. For sourceforge you need the usual expansion
- // of the path based on the project name.
- $CVSROOT = "/cvsroot/phpcvsview";
- //$CVSROOT = "/cvsroot/CHASE";
-
- // The hostname (or IP Address) of the server providing the PServer services.
- $PServer = "cvs.sourceforge.net";
- //$PServer = "192.168.0.1";
-
- // The username to pass to the PServer for authentication purposes.
- $UserName = "anonymous";
-
- // The password associated with the username above for authentication process.
- $Password = "";
-
- // The HTMLTitle and HTMLHeading are used purely for the generation of the
- // resultant web pages.
- $HTMLTitle = "phpCVSView Source Code Library";
- $HTMLHeading = "phpCVSView Source Code Library";
-
- $HTMLTblHdBg = "#CCCCCC";
- $HTMLTblCell1 = "#FFFFFF";
- $HTMLTblCell2 = "#CCCCEE";
-
/**
*
--- 17,22 ----
*
**/
+ include_once 'config.php';
/**
*
***************
*** 230,236 ****
}
! // $Output = print_r($CVSServer->FILES, true);
! // $Output2 = str_replace("\n", "<br>", $Output);
! // echo "<hr><h1>Files Present</h1><pre>$Output2</pre><br><hr>";
$CVSServer->Disconnect();
--- 207,213 ----
}
! $Output = print_r($CVSServer->FILES, true);
! $Output2 = str_replace("\n", "<br>", $Output);
! echo "<hr><h1>Files Present</h1><pre>$Output2</pre><br><hr>";
$CVSServer->Disconnect();
***************
*** 395,397 ****
--- 372,375 ----
}
}
+
?>
|