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: Changing the default index page  (Read 2254 times)

0 Members and 1 Guest are viewing this topic.

callahan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Changing the default index page
« on: December 26, 2005, 01:39:35 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Changing the default index page
« Reply #1 on: December 26, 2005, 09:48:52 am »

in coppermine's config, use the option "Allow unlogged users (guest or anonymous) access". Please read the docs before asking questions.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.