Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Need help removing URL: when displaying File Information.  (Read 2603 times)

0 Members and 1 Guest are viewing this topic.

MartialArtist

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Need help removing URL: when displaying File Information.
« on: July 22, 2005, 10:36:06 pm »

Nver mind, I figured it out. :)
« Last Edit: July 22, 2005, 10:51:48 pm by MartialArtist »
Logged

Nibbler

  • Guest
Re: Need help removing URL: when displaying File Information.
« Reply #1 on: July 22, 2005, 10:53:12 pm »

displayimage.php

Code: [Select]
$info['URL'] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
   

Just comment it out.

Code: [Select]
//$info['URL'] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
   
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Need help removing URL: when displaying File Information.
« Reply #2 on: July 23, 2005, 06:05:40 am »

@MartialArtist: please don't edit posts like that. It renders threads useless... and wastes supporters' time responding to a consequently non-question.
Logged
Pages: [1]   Go Up
 

Page created in 0.059 seconds with 16 queries.