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: current page url  (Read 5748 times)

0 Members and 1 Guest are viewing this topic.

grantson

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
current page url
« on: June 18, 2010, 01:47:02 am »

hi guys

I have checked the global variables list in the documentation
and also searched with no luck

is there a variable that holds the current page url
in the same way that $CURRENT_PIC_DATA['url'] holds the url of the current picture

thanks


Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: current page url
« Reply #1 on: June 18, 2010, 07:20:58 pm »

Logged

grantson

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: current page url
« Reply #2 on: June 21, 2010, 02:56:50 pm »

Sorry I forget,
page has only been live for a week prior to that its been on a virtual server making posting a link very difficult

www.magicmirrorphoto.co.uk/gallery

got it though
again step back think and realised is is in the file info so looked up to see how it was constructed in display image.php

Code: [Select]
{$CONFIG['site_url']}displayimage.php?pid={$CURRENT_PIC_DATA['pid']}
  ;D
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: current page url
« Reply #3 on: June 22, 2010, 12:23:30 pm »

Is your question solved? If so, please mark it accordingly.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.