[phpcvsview-cvs-updates] phpcvsview func_FileHistory.php,1.11,1.12
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Sijis A. <si...@us...> - 2005-02-04 09:44:46
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10482 Modified Files: func_FileHistory.php Log Message: - removed unecessary $env['script_path'] recalculation - removed reference to $env['mod_path'] in function calls Index: func_FileHistory.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileHistory.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** func_FileHistory.php 3 Feb 2005 23:50:36 -0000 1.11 --- func_FileHistory.php 4 Feb 2005 09:44:36 -0000 1.12 *************** *** 16,23 **** global $config, $env, $lang, $CVSServer; - // 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 ---- *************** *** 41,45 **** // Add the quick link navigation bar. ! echo GetQuickLinkBar($env['mod_path'], $lang['rev_history'], false, true, ""); foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) { --- 37,41 ---- // Add the quick link navigation bar. ! echo GetQuickLinkBar($lang['rev_history'], false, true, ""); foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) { |