aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-07-26 01:01:36 +0000
committerrvelices <rv-github@modusoptimus.com>2006-07-26 01:01:36 +0000
commit462a8ebbc103423fc23a5e7a06b7f13688fb6936 (patch)
tree6bc803ec3c37de630b7d2e1c4ec129ddb7cc83de
parentaca06a08aa8d2148ba6198811907fbb61a4e8f57 (diff)
bug 488: when gallery is locked, white page with no message
git-svn-id: http://piwigo.org/svn/trunk@1502 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/common.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 0d0a05f20..d7b557679 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -178,6 +178,7 @@ if ($conf['gallery_locked'])
if ( basename($_SERVER["PHP_SELF"]) != 'identification.php'
and !is_admin() )
{
+ echo( $lang['gallery_locked_message'] );
exit();
}
}