[phpcvsview-cvs-updates] phpcvsview phpcvs.php,1.15,1.16
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Sijis A. <si...@us...> - 2004-10-05 17:57:03
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30668 Modified Files: phpcvs.php Log Message: - changed debug() function - cosmetic fixes Index: phpcvs.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/phpcvs.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** phpcvs.php 4 Oct 2004 11:43:54 -0000 1.15 --- phpcvs.php 5 Oct 2004 17:54:32 -0000 1.16 *************** *** 11,18 **** * @copyright 2003-2004 Brian A Cheeseman **/ ! require_once 'Net/Socket.php'; ! class CVS_PServer { var $CVS_REPOSITORY; // Storage of the CVS Repository file system path. --- 11,19 ---- * @copyright 2003-2004 Brian A Cheeseman [...1368 lines suppressed...] ! // string - (optional) options: var_dump, both, print_r ! // Return Value: void - none. ! // *************************************************************************** ! function debug($foo, $bar = ""){ ! echo "<pre>"; ! switch($bar){ ! case "var_dump": ! echo var_dump($foo); ! break; ! case "both": ! echo var_dump($foo); ! echo print_r($foo); ! break; ! case "print_r": ! default: ! echo print_r($foo); } + echo '</pre>'; } |