[phpcvsview-cvs-updates] phpcvsview func_FileDownload.php,1.3,1.4
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Sijis A. <si...@us...> - 2005-02-04 09:43:57
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10345 Modified Files: func_FileDownload.php Log Message: - fixed special id cvs string tag - removed unecessary $env['script_path'] recalculation Index: func_FileDownload.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileDownload.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** func_FileDownload.php 3 Feb 2005 23:50:36 -0000 1.3 --- func_FileDownload.php 4 Feb 2005 09:43:48 -0000 1.4 *************** *** 8,12 **** * * @author Brian A Cheeseman <bch...@us...> ! * @version $Id * @copyright 2003-2005 Brian A Cheeseman **/ --- 8,12 ---- * * @author Brian A Cheeseman <bch...@us...> ! * @version $Id$ * @copyright 2003-2005 Brian A Cheeseman **/ *************** *** 16,23 **** global $config, $env, $lang, $MIME_TYPES; - // Calculate the path from the $env['script_name'] variable. - $env['script_path'] = substr($env['script_name'], 0, strrpos($env['script_name'], '/')); - $env['script_path'] = (empty($env['script_path']))? '/' : $env['script_path']; - // Create our CVS connection object and set the required properties. $CVSServer = new CVS_PServer($env['CVSSettings']['cvsroot'], $env['CVSSettings']['server'], $env['CVSSettings']['username'], $env['CVSSettings']['password']); --- 16,19 ---- |