Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Changing the default index page  (Read 2503 times)

0 Members and 1 Guest are viewing this topic.


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


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 -

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.


Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
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.
Pages: [1]   Go Up

Page created in 0.016 seconds with 21 queries.