Update of /cvsroot/phpcvsview/phpcvsview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10600
Modified Files:
func_FileView.php
Log Message:
- removed unecessary $env['script_path'] recalculation
- removed reference to $env['mod_path'] in function calls
Index: func_FileView.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileView.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** func_FileView.php 3 Feb 2005 23:50:36 -0000 1.14
--- func_FileView.php 4 Feb 2005 09:45:24 -0000 1.15
***************
*** 20,27 ****
global $config, $env, $lang;
- // 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']);
--- 20,23 ----
***************
*** 49,53 ****
// Add the quick link navigation bar.
! echo GetQuickLinkBar($env['mod_path'], $lang['code_view'], true, true, $Revision);
echo "<hr />\n";
--- 45,49 ----
// Add the quick link navigation bar.
! echo GetQuickLinkBar($lang['code_view'], true, true, $Revision);
echo "<hr />\n";
|