aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-07-26 01:01:12 +0000
committerrvelices <rv-github@modusoptimus.com>2006-07-26 01:01:12 +0000
commit5a65e6a41f72be026388a1529cff752ac906041c (patch)
treedb5af9787496e818cbed3295c5cda2a09ccdda49
parent1f9c8a30a412a0adcf0e6b71d4aa9989b1214db4 (diff)
bug 488: when gallery is locked, white page with no message
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1501 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();
}
}