News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

Main Menu

current page url

Started by grantson, June 18, 2010, 01:47:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grantson

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



Αndré


grantson

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

{$CONFIG['site_url']}displayimage.php?pid={$CURRENT_PIC_DATA['pid']}

  ;D

Αndré

Is your question solved? If so, please mark it accordingly.