aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-07-15 08:20:47 +0000
committerchrisaga <chrisaga@piwigo.org>2006-07-15 08:20:47 +0000
commit12f7f1e8374e042deebdebc1d90ca1a963d23b39 (patch)
tree902a665b2733c51482ebcffbb42fa040eb9ec854 /include
parent81126f9fb65e8fdfe4927d1ebf6fa2674ec3dd0a (diff)
improve : allow to redirect guest from index.php to identification.php (feature 470)
usefull if the whole gallery is private we lost it when category.php became index.php git-svn-id: http://piwigo.org/svn/trunk@1470 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index c0a98eb44..c4c4bdb4d 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -388,6 +388,11 @@ $conf['webmaster_id'] = 1;
// allow to use adviser mode
$conf['allow_adviser'] = false;
+// does the guest have access ?
+// (not a security feature, set your categories "private" too)
+// If false it'll be redirected from index.php to identification.php
+$conf['guest_access'] = true;
+
// +-----------------------------------------------------------------------+
// | upload |
// +-----------------------------------------------------------------------+