Gallery Offline? Gallery Offline?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Gallery Offline?

Started by Charity, February 06, 2007, 02:58:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Charity

Is there a way to make your gallery fully offline? I know how to make it offline but they can still see the layout. How do you make it offline so no one will be able to see anything except for the admin? Because I saw someone did it.

Joachim Müller

There are several methods:
  • creating a .htaccess file that prompts for username and password
  • setting a theme for everyone that displays nothing and manually specifying another theme for the admin
  • Renaming the folder your Coppermine gallery resides in
  • Adding a die();-command for non-admins into the code
Not related to coppermine itself. Imo the regular "offline" switch in Coppermine's config should be enough.