Changing the default index page Changing the default index page
 

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

Changing the default index page

Started by callahan, December 26, 2005, 01:39:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

callahan

Hi,

I've just upgraded to the latest version of Coppermine. All went smoothly but I need to change the setup back to prompt users to logon before they can see any pics in the albums. It's been a while since I did this so a memory jog is required. The sction in the FAQ -

edit
displayimage.php
and search for

/**************************************************************************
* Local functions definition
**************************************************************************/


and add before it
if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);

doesn't cover it so if anyone can tell me which file to edit and with what I'd appreciate it.

Cheers.

Joachim Müller

in coppermine's config, use the option "Allow unlogged users (guest or anonymous) access". Please read the docs before asking questions.