Modify login script Modify login script
 

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]

Main Menu

Modify login script

Started by Computer Guru, May 25, 2005, 01:25:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Computer Guru

Hi,

I have everything working, and am trying to get this last thing with IPB redirect working. I have the redirect script on IPB and just need to configure Coppermine to give me the rught refer script when logging in

login link from CM: http://theconundrum.com/Coppermine/login.php?referer=/Coppermine/index.php

I need it to be an absoloute reference like http://theconundrum.com/Coppermine/login.php?referer=http://theconundrum.com/Coppermine/index.php

cuz forum is on subdomain that gets files from theconundrum.com/forums

LOGIN DETAILS:

Coppermine/test

forum.theconundrum.com
theconundrum.com/Coppermine

what do you guys think, is it possible?

EDIT

OK, i got to refer it right when logging OUT by modifying $REFERER = urlencode('http://theconundrum.com/coppermine/'; . (isset($HTTP_SERVER_VARS['QUERY_STRING']) && $HTTP_SERVER_VARS['QUERY_STRING'] ? '?' . $HTTP_SERVER_VARS['QUERY_STRING'] : ''));

in init.inc.php

on login link in CM it says the right refer, but when i go to login in IPB it gets lost along the way for some reason..