Skip to content

Commit

Permalink
Removed references to disklinks and DOCUMENT_ROOT.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1105 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Jun 8, 2002
1 parent 28df982 commit 6788cf6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion print_bug_page.php
Expand Up @@ -295,7 +295,6 @@
for ($i=0;$i<$num_files;$i++) {
$row = db_fetch_array( $result );
extract( $row, EXTR_PREFIX_ALL, 'v2' );
$v2_diskfile = str_replace( $DOCUMENT_ROOT, '', $v2_diskfile );
$v2_filesize = round( $v2_filesize / 1024 );
$v2_date_added = date( $g_normal_date_format, ( $v2_date_added ) );

Expand Down
2 changes: 0 additions & 2 deletions proj_doc_page.php
Expand Up @@ -35,8 +35,6 @@
for ($i=0;$i<$num_files;$i++) {
$row = db_fetch_array( $result );
extract( $row, EXTR_PREFIX_ALL, 'v' );
$v_diskfile = str_replace( $DOCUMENT_ROOT, '', $v_diskfile );
$v_diskfile = dirname( $v_diskfile ).'/'.rawurlencode( $v_filename );
$v_filesize = number_format( $v_filesize );
$v_title = string_display( $v_title );
$v_description = string_display( $v_description );
Expand Down

0 comments on commit 6788cf6

Please sign in to comment.