Hi
Does anyone know how to remove authentication in zenPhoto - i have a controlled environment and would like any user on the site (zenPhoto) to upload or edit images.
I did find this -
http://www.zenphoto.org/support/topic.php?id=1373#post-7898 but the line numbers don't match (must be a older version they referring to). So if anyone knows how to remove authentication on zenPhoto version 1.2 [2213] than please drop me a line.
much appreciated
chris
BTW - zenPhoto is awesome, nice work guys.
Comments
towards the beginning of that function there is a line that reads:
`$admins = getAdministrators();`
insert after that line
`$_zp_current_admin = $admins[0]; return $_zp_current_admin['rights'];`
This assumes that you have created an admin user.
Thanks for response - worked like a charm!
peace
Chris
Additionally, even though I am sure you trust everyone, you might prefer to reserve the User admin rights for yourself. Give the others only the rights they need.
Finally, of course, if you assign user/passwords you won't have to remember to make that change every time you update zenphoto.